Skip to content
Snippets Groups Projects
Commit c660a541 authored by Marek Vasut's avatar Marek Vasut Committed by Albert ARIBAUD
Browse files

M28EVK: Fix build if CONFIG_CMD_NAND not selected


Signed-off-by: default avatarMarek Vasut <marek.vasut@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
parent b0216fd6
No related branches found
No related tags found
No related merge requests found
......@@ -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
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment