From fbcf8e8c753d1afa8a22b9e8d66bafe8b4a05f18 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 23 Dec 2010 14:58:37 -0500 Subject: 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 --- arch/blackfin/include/asm/config.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/blackfin/include/asm/config.h') 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 +/* 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 -- cgit v1.1