aboutsummaryrefslogtreecommitdiffstats
path: root/arch/blackfin/mach-bf537
diff options
context:
space:
mode:
authorRobin Getz <rgetz@blackfin.uclinux.org>2008-10-10 06:21:45 -0400
committerBryan Wu <cooloney@kernel.org>2008-10-10 06:21:45 -0400
commite482cad241c0b7108cbc94959307a73d19ba17d5 (patch)
tree7cde7e1af828d74d55ec059d1955c5129b89a892 /arch/blackfin/mach-bf537
parent6d0b8c993dc0a26fe7a9ee8b839d1964bd0debd4 (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-bf537')
-rw-r--r--arch/blackfin/mach-bf537/include/mach/bf537.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/blackfin/mach-bf537/include/mach/bf537.h b/arch/blackfin/mach-bf537/include/mach/bf537.h
index 7a047e04e383..24d5c9d42323 100644
--- a/arch/blackfin/mach-bf537/include/mach/bf537.h
+++ b/arch/blackfin/mach-bf537/include/mach/bf537.h
@@ -121,19 +121,19 @@
121 121
122#ifdef CONFIG_BF537 122#ifdef CONFIG_BF537
123#define CPU "BF537" 123#define CPU "BF537"
124#define CPUID 0x027c8000 124#define CPUID 0x27c8
125#endif 125#endif
126#ifdef CONFIG_BF536 126#ifdef CONFIG_BF536
127#define CPU "BF536" 127#define CPU "BF536"
128#define CPUID 0x027c8000 128#define CPUID 0x27c8
129#endif 129#endif
130#ifdef CONFIG_BF534 130#ifdef CONFIG_BF534
131#define CPU "BF534" 131#define CPU "BF534"
132#define CPUID 0x027c6000 132#define CPUID 0x27c6
133#endif 133#endif
134
134#ifndef CPU 135#ifndef CPU
135#define CPU "UNKNOWN" 136#error Unknown CPU type - This kernel doesn't seem to be configured properly
136#define CPUID 0x0
137#endif 137#endif
138 138
139#endif /* __MACH_BF537_H__ */ 139#endif /* __MACH_BF537_H__ */