]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - arch/blackfin/include/asm/config.h
Blackfin: move CONFIG_BFIN_CPU back to board config.h
[people/ms/u-boot.git] / arch / blackfin / include / asm / config.h
index 04372525cc2470f8bb0141945e6675e7863a9d57..f0f3a395348afd2767053ae675d7859beb877ca9 100644 (file)
 /* 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