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:
Roger Quadros 2022-03-09 12:19:40 +02:00 committed by Praneeth Bajjuri
parent 1a72bf5510
commit 7d0227061f
1 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,10 @@
#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 --*/
#ifdef CONFIG_SYS_K3_SPL_ATF