mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-02 12:31:31 +00:00
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>
This commit is contained in:
parent
b0216fd62a
commit
c660a54182
1 changed files with 3 additions and 1 deletions
|
@ -147,6 +147,7 @@
|
||||||
/*
|
/*
|
||||||
* NAND
|
* NAND
|
||||||
*/
|
*/
|
||||||
|
#define CONFIG_ENV_SIZE (16 * 1024)
|
||||||
#ifdef CONFIG_CMD_NAND
|
#ifdef CONFIG_CMD_NAND
|
||||||
#define CONFIG_NAND_MXS
|
#define CONFIG_NAND_MXS
|
||||||
#define CONFIG_APBH_DMA
|
#define CONFIG_APBH_DMA
|
||||||
|
@ -157,7 +158,6 @@
|
||||||
|
|
||||||
/* Environment is in NAND */
|
/* Environment is in NAND */
|
||||||
#define CONFIG_ENV_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_SIZE_REDUND CONFIG_ENV_SIZE
|
||||||
#define CONFIG_ENV_SECT_SIZE (128 * 1024)
|
#define CONFIG_ENV_SECT_SIZE (128 * 1024)
|
||||||
#define CONFIG_ENV_RANGE (512 * 1024)
|
#define CONFIG_ENV_RANGE (512 * 1024)
|
||||||
|
@ -180,6 +180,8 @@
|
||||||
"512k(redundant-environment)," \
|
"512k(redundant-environment)," \
|
||||||
"4m(kernel)," \
|
"4m(kernel)," \
|
||||||
"-(filesystem)"
|
"-(filesystem)"
|
||||||
|
#else
|
||||||
|
#define CONFIG_ENV_IS_NOWHERE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue