diff options
author | Robin Getz <rgetz@blackfin.uclinux.org> | 2008-10-10 06:21:45 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-10-10 06:21:45 -0400 |
commit | e482cad241c0b7108cbc94959307a73d19ba17d5 (patch) | |
tree | 7cde7e1af828d74d55ec059d1955c5129b89a892 /arch/blackfin/mach-bf561 | |
parent | 6d0b8c993dc0a26fe7a9ee8b839d1964bd0debd4 (diff) |
Blackfin arch: print out error/warning if you are running on the incorrect CPU type
Signed-off-by: Robin Getz <rgetz@blackfin.uclinux.org>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/mach-bf561')
-rw-r--r-- | arch/blackfin/mach-bf561/include/mach/bf561.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/blackfin/mach-bf561/include/mach/bf561.h b/arch/blackfin/mach-bf561/include/mach/bf561.h index 7787caad3555..18b1b3a223ab 100644 --- a/arch/blackfin/mach-bf561/include/mach/bf561.h +++ b/arch/blackfin/mach-bf561/include/mach/bf561.h | |||
@@ -211,11 +211,11 @@ | |||
211 | 211 | ||
212 | #ifdef CONFIG_BF561 | 212 | #ifdef CONFIG_BF561 |
213 | #define CPU "BF561" | 213 | #define CPU "BF561" |
214 | #define CPUID 0x027bb000 | 214 | #define CPUID 0x27bb |
215 | #endif | 215 | #endif |
216 | |||
216 | #ifndef CPU | 217 | #ifndef CPU |
217 | #define CPU "UNKNOWN" | 218 | #error Unknown CPU type - This kernel doesn't seem to be configured properly |
218 | #define CPUID 0x0 | ||
219 | #endif | 219 | #endif |
220 | 220 | ||
221 | #endif /* __MACH_BF561_H__ */ | 221 | #endif /* __MACH_BF561_H__ */ |