configs: am64x_evm: Support u-boot environment in NAND
CONFIG_SYS_ENV_SECT_SIZE must be set for supporting load/save u-boot environment from NAND. Signed-off-by: Roger Quadros <rogerq@kernel.org>
This commit is contained in:
parent
1a72bf5510
commit
7d0227061f
|
|
@ -56,6 +56,10 @@
|
||||||
|
|
||||||
#define CONFIG_SYS_NAND_BASE 0x51000000
|
#define CONFIG_SYS_NAND_BASE 0x51000000
|
||||||
|
|
||||||
|
#if defined(CONFIG_ENV_IS_IN_NAND)
|
||||||
|
#define CONFIG_SYS_ENV_SECT_SIZE CONFIG_SYS_NAND_BLOCK_SIZE
|
||||||
|
#endif
|
||||||
|
|
||||||
/*-- end NAND config --*/
|
/*-- end NAND config --*/
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_K3_SPL_ATF
|
#ifdef CONFIG_SYS_K3_SPL_ATF
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue