diff options
Diffstat (limited to 'arch/blackfin/mach-bf548/include/mach/bf548.h')
-rw-r--r-- | arch/blackfin/mach-bf548/include/mach/bf548.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/arch/blackfin/mach-bf548/include/mach/bf548.h b/arch/blackfin/mach-bf548/include/mach/bf548.h index e748588e8930..49f9b403d458 100644 --- a/arch/blackfin/mach-bf548/include/mach/bf548.h +++ b/arch/blackfin/mach-bf548/include/mach/bf548.h | |||
@@ -30,8 +30,6 @@ | |||
30 | #ifndef __MACH_BF548_H__ | 30 | #ifndef __MACH_BF548_H__ |
31 | #define __MACH_BF548_H__ | 31 | #define __MACH_BF548_H__ |
32 | 32 | ||
33 | #define SUPPORTED_REVID 0 | ||
34 | |||
35 | #define OFFSET_(x) ((x) & 0x0000FFFF) | 33 | #define OFFSET_(x) ((x) & 0x0000FFFF) |
36 | 34 | ||
37 | /*some misc defines*/ | 35 | /*some misc defines*/ |
@@ -108,20 +106,23 @@ | |||
108 | 106 | ||
109 | #if defined(CONFIG_BF542) | 107 | #if defined(CONFIG_BF542) |
110 | # define CPU "BF542" | 108 | # define CPU "BF542" |
111 | # define CPUID 0x027c8000 | 109 | # define CPUID 0x27de |
112 | #elif defined(CONFIG_BF544) | 110 | #elif defined(CONFIG_BF544) |
113 | # define CPU "BF544" | 111 | # define CPU "BF544" |
114 | # define CPUID 0x027c8000 | 112 | # define CPUID 0x27de |
115 | #elif defined(CONFIG_BF547) | 113 | #elif defined(CONFIG_BF547) |
116 | # define CPU "BF547" | 114 | # define CPU "BF547" |
115 | # define CPUID 0x27de | ||
117 | #elif defined(CONFIG_BF548) | 116 | #elif defined(CONFIG_BF548) |
118 | # define CPU "BF548" | 117 | # define CPU "BF548" |
119 | # define CPUID 0x027c6000 | 118 | # define CPUID 0x27de |
120 | #elif defined(CONFIG_BF549) | 119 | #elif defined(CONFIG_BF549) |
121 | # define CPU "BF549" | 120 | # define CPU "BF549" |
122 | #else | 121 | # define CPUID 0x27de |
123 | # define CPU "UNKNOWN" | 122 | #endif |
124 | # define CPUID 0x0 | 123 | |
124 | #ifndef CPU | ||
125 | #error Unknown CPU type - This kernel doesn't seem to be configured properly | ||
125 | #endif | 126 | #endif |
126 | 127 | ||
127 | #endif /* __MACH_BF48_H__ */ | 128 | #endif /* __MACH_BF48_H__ */ |