diff options
Diffstat (limited to 'arch/blackfin/mach-bf527/include/mach/bf527.h')
-rw-r--r-- | arch/blackfin/mach-bf527/include/mach/bf527.h | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/arch/blackfin/mach-bf527/include/mach/bf527.h b/arch/blackfin/mach-bf527/include/mach/bf527.h index 056eb4b9cd25..144f08d3f8ea 100644 --- a/arch/blackfin/mach-bf527/include/mach/bf527.h +++ b/arch/blackfin/mach-bf527/include/mach/bf527.h | |||
@@ -30,8 +30,6 @@ | |||
30 | #ifndef __MACH_BF527_H__ | 30 | #ifndef __MACH_BF527_H__ |
31 | #define __MACH_BF527_H__ | 31 | #define __MACH_BF527_H__ |
32 | 32 | ||
33 | #define SUPPORTED_REVID 2 | ||
34 | |||
35 | #define OFFSET_(x) ((x) & 0x0000FFFF) | 33 | #define OFFSET_(x) ((x) & 0x0000FFFF) |
36 | 34 | ||
37 | /*some misc defines*/ | 35 | /*some misc defines*/ |
@@ -112,16 +110,31 @@ | |||
112 | 110 | ||
113 | #ifdef CONFIG_BF527 | 111 | #ifdef CONFIG_BF527 |
114 | #define CPU "BF527" | 112 | #define CPU "BF527" |
113 | #define CPUID 0x27e4 | ||
114 | #endif | ||
115 | #ifdef CONFIG_BF526 | ||
116 | #define CPU "BF526" | ||
117 | #define CPUID 0x27e4 | ||
115 | #endif | 118 | #endif |
116 | #ifdef CONFIG_BF525 | 119 | #ifdef CONFIG_BF525 |
117 | #define CPU "BF525" | 120 | #define CPU "BF525" |
121 | #define CPUID 0x27e4 | ||
122 | #endif | ||
123 | #ifdef CONFIG_BF524 | ||
124 | #define CPU "BF524" | ||
125 | #define CPUID 0x27e4 | ||
126 | #endif | ||
127 | #ifdef CONFIG_BF523 | ||
128 | #define CPU "BF523" | ||
129 | #define CPUID 0x27e4 | ||
118 | #endif | 130 | #endif |
119 | #ifdef CONFIG_BF522 | 131 | #ifdef CONFIG_BF522 |
120 | #define CPU "BF522" | 132 | #define CPU "BF522" |
133 | #define CPUID 0x27e4 | ||
121 | #endif | 134 | #endif |
135 | |||
122 | #ifndef CPU | 136 | #ifndef CPU |
123 | #define CPU "UNKNOWN" | 137 | #error Unknown CPU type - This kernel doesn't seem to be configured properly |
124 | #define CPUID 0x0 | ||
125 | #endif | 138 | #endif |
126 | 139 | ||
127 | #endif /* __MACH_BF527_H__ */ | 140 | #endif /* __MACH_BF527_H__ */ |