diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-12-31 18:28:22 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-01-16 08:40:10 +0100 |
commit | c660a541828138ac4ba1ef82638df3b78e3bc65c (patch) | |
tree | e142a5a5b84972bc81d714065eafa8b308f46449 /include | |
parent | b0216fd62a94c21a757a09c18e0a6e4550cf36d1 (diff) |
M28EVK: Fix build if CONFIG_CMD_NAND not selected
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/m28evk.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index 2b4871e1f9..b891b12fef 100644 --- a/include/configs/m28evk.h +++ b/include/configs/m28evk.h @@ -147,6 +147,7 @@ /* * NAND */ +#define CONFIG_ENV_SIZE (16 * 1024) #ifdef CONFIG_CMD_NAND #define CONFIG_NAND_MXS #define CONFIG_APBH_DMA @@ -157,7 +158,6 @@ /* Environment is in NAND */ #define CONFIG_ENV_IS_IN_NAND -#define CONFIG_ENV_SIZE (16 * 1024) #define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE #define CONFIG_ENV_SECT_SIZE (128 * 1024) #define CONFIG_ENV_RANGE (512 * 1024) @@ -180,6 +180,8 @@ "512k(redundant-environment)," \ "4m(kernel)," \ "-(filesystem)" +#else +#define CONFIG_ENV_IS_NOWHERE #endif /* |