summaryrefslogtreecommitdiff
path: root/arch/blackfin/include/asm
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-12-23 14:58:37 -0500
committerMike Frysinger <vapier@gentoo.org>2011-04-08 00:44:26 -0400
commitfbcf8e8c753d1afa8a22b9e8d66bafe8b4a05f18 (patch)
tree0dfb7c2d54fa43795a7766117e7203488f0f4f9d /arch/blackfin/include/asm
parentec4c6933ff754d8dcc0dc3f2fce19a81babe2fd3 (diff)
downloadu-boot-imx-fbcf8e8c753d1afa8a22b9e8d66bafe8b4a05f18.zip
u-boot-imx-fbcf8e8c753d1afa8a22b9e8d66bafe8b4a05f18.tar.gz
u-boot-imx-fbcf8e8c753d1afa8a22b9e8d66bafe8b4a05f18.tar.bz2
Blackfin: move CONFIG_BFIN_CPU back to board config.h
This is a revert of 821ad16fa9900c as Wolfgang doesn't like the new code. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/include/asm')
-rw-r--r--arch/blackfin/include/asm/config.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/blackfin/include/asm/config.h b/arch/blackfin/include/asm/config.h
index 0437252..f0f3a39 100644
--- a/arch/blackfin/include/asm/config.h
+++ b/arch/blackfin/include/asm/config.h
@@ -12,6 +12,11 @@
/* Some of our defines use this (like CONFIG_SYS_GBL_DATA_ADDR) */
#include <asm-offsets.h>
+/* Sanity check CONFIG_BFIN_CPU */
+#ifndef CONFIG_BFIN_CPU
+# error CONFIG_BFIN_CPU: your board config needs to define this
+#endif
+
#ifndef CONFIG_BFIN_SCRATCH_REG
# define CONFIG_BFIN_SCRATCH_REG retn
#endif