diff options
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h index 39663f1..712e87d 100644 --- a/firmware/export/system.h +++ b/firmware/export/system.h @@ -125,6 +125,10 @@ enum { : /* %0 */ "d"(mask), \ /* %1 */ "a"(address)) +static inline void mcf5249_init_mac(void) { + asm volatile ("move.l #0x20, %macsr;"); /* frac, truncate, no saturation */ +} + #endif #ifndef SIMULATOR |