From: Daniel Schultz Date: Mon, 10 Feb 2025 15:25:45 +0000 (-0800) Subject: configs: phycore_am64x_a53_defconfig: Enable ENV_IS_IN_SPI_FLASH X-Git-Tag: v2025.07-rc1~18^2~88^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28afc81a6178c0fa9be77ec02c4f96c75c49835c;p=pandora-u-boot.git configs: phycore_am64x_a53_defconfig: Enable ENV_IS_IN_SPI_FLASH Enable ENV_IS_IN_SPI_FLASH to read the environment from the SPI flash when booting from it. The oftree, kernel and ramdisk sizes are located in this environment and therefore required to boot an initramfs. Signed-off-by: Daniel Schultz Reviewed-by: Wadim Egorov --- diff --git a/configs/phycore_am64x_a53_defconfig b/configs/phycore_am64x_a53_defconfig index f0c7ee26384..4ee1bd829a3 100644 --- a/configs/phycore_am64x_a53_defconfig +++ b/configs/phycore_am64x_a53_defconfig @@ -14,6 +14,7 @@ CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80480000 CONFIG_ENV_SIZE=0x20000 CONFIG_ENV_OFFSET=0x680000 +CONFIG_ENV_SECT_SIZE=0x20000 CONFIG_DM_GPIO=y CONFIG_SPL_DM_SPI=y CONFIG_DEFAULT_DEVICE_TREE="ti/k3-am642-phyboard-electra-rdk" @@ -91,6 +92,7 @@ CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y CONFIG_ENV_OVERWRITE=y CONFIG_ENV_IS_NOWHERE=y CONFIG_ENV_IS_IN_MMC=y +CONFIG_ENV_IS_IN_SPI_FLASH=y CONFIG_SYS_REDUNDAND_ENVIRONMENT=y CONFIG_SYS_MMC_ENV_DEV=1 CONFIG_NET_RANDOM_ETHADDR=y