summaryrefslogtreecommitdiff
path: root/firmware/export/system.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/system.h')
-rw-r--r--firmware/export/system.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h
index 39663f1087..712e87d3ef 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -125,6 +125,10 @@ enum {
125 : /* %0 */ "d"(mask), \ 125 : /* %0 */ "d"(mask), \
126 /* %1 */ "a"(address)) 126 /* %1 */ "a"(address))
127 127
128static inline void mcf5249_init_mac(void) {
129 asm volatile ("move.l #0x20, %macsr;"); /* frac, truncate, no saturation */
130}
131
128#endif 132#endif
129 133
130#ifndef SIMULATOR 134#ifndef SIMULATOR