diff options
Diffstat (limited to 'arch/blackfin/include/asm')
| -rw-r--r-- | arch/blackfin/include/asm/config.h | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/arch/blackfin/include/asm/config.h b/arch/blackfin/include/asm/config.h index 04372525c..f0f3a3953 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 |