diff options
Diffstat (limited to 'include/asm-blackfin/mach-bf548/bf548.h')
-rw-r--r-- | include/asm-blackfin/mach-bf548/bf548.h | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/include/asm-blackfin/mach-bf548/bf548.h b/include/asm-blackfin/mach-bf548/bf548.h index 7e6d349beb08..e748588e8930 100644 --- a/include/asm-blackfin/mach-bf548/bf548.h +++ b/include/asm-blackfin/mach-bf548/bf548.h | |||
@@ -106,24 +106,22 @@ | |||
106 | 106 | ||
107 | #define AMGCTLVAL (V_AMBEN | V_AMCKEN) | 107 | #define AMGCTLVAL (V_AMBEN | V_AMCKEN) |
108 | 108 | ||
109 | #ifdef CONFIG_BF542 | 109 | #if defined(CONFIG_BF542) |
110 | #define CPU "BF542" | 110 | # define CPU "BF542" |
111 | #define CPUID 0x027c8000 | 111 | # define CPUID 0x027c8000 |
112 | #endif | 112 | #elif defined(CONFIG_BF544) |
113 | #ifdef CONFIG_BF544 | 113 | # define CPU "BF544" |
114 | #define CPU "BF544" | 114 | # define CPUID 0x027c8000 |
115 | #define CPUID 0x027c8000 | 115 | #elif defined(CONFIG_BF547) |
116 | #endif | 116 | # define CPU "BF547" |
117 | #ifdef CONFIG_BF548 | 117 | #elif defined(CONFIG_BF548) |
118 | #define CPU "BF548" | 118 | # define CPU "BF548" |
119 | #define CPUID 0x027c6000 | 119 | # define CPUID 0x027c6000 |
120 | #endif | 120 | #elif defined(CONFIG_BF549) |
121 | #ifdef CONFIG_BF549 | 121 | # define CPU "BF549" |
122 | #define CPU "BF549" | 122 | #else |
123 | #endif | 123 | # define CPU "UNKNOWN" |
124 | #ifndef CPU | 124 | # define CPUID 0x0 |
125 | #define CPU "UNKNOWN" | ||
126 | #define CPUID 0x0 | ||
127 | #endif | 125 | #endif |
128 | 126 | ||
129 | #endif /* __MACH_BF48_H__ */ | 127 | #endif /* __MACH_BF48_H__ */ |