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, 2 insertions, 2 deletions
diff --git a/firmware/export/system.h b/firmware/export/system.h
index f379b325d3..39663f1087 100644
--- a/firmware/export/system.h
+++ b/firmware/export/system.h
@@ -103,7 +103,7 @@ enum {
103 : /* %0 */ I_CONSTRAINT((char)(mask)), \ 103 : /* %0 */ I_CONSTRAINT((char)(mask)), \
104 /* %1 */ "z"(address-GBR)) 104 /* %1 */ "z"(address-GBR))
105 105
106#elif CONFIG_CPU == MCF5249 106#elif defined(CPU_COLDFIRE)
107#define or_l(mask, address) \ 107#define or_l(mask, address) \
108 asm \ 108 asm \
109 ("or.l %0,(%1)" \ 109 ("or.l %0,(%1)" \
@@ -182,7 +182,7 @@ static inline unsigned long SWAB32(unsigned long value)
182 182
183#define invalidate_icache() 183#define invalidate_icache()
184 184
185#elif CONFIG_CPU == MCF5249 185#elif defined(CPU_COLDFIRE)
186#define HIGHEST_IRQ_LEVEL (7<<8) 186#define HIGHEST_IRQ_LEVEL (7<<8)
187static inline int set_irq_level(int level) 187static inline int set_irq_level(int level)
188{ 188{