summaryrefslogtreecommitdiff
path: root/configs/phycore_am62x_a53_defconfig
diff options
context:
space:
mode:
authorDaniel Schultz <d.schultz@phytec.de>2025-02-10 07:25:46 -0800
committerTom Rini <trini@konsulko.com>2025-02-20 16:13:20 -0600
commit69694a1f79477d6f73e60fefded7400fa1a0c9a2 (patch)
treeae2732a8bfd5467c07a20bc1c2359d2144ce4b57 /configs/phycore_am62x_a53_defconfig
parent28afc81a6178c0fa9be77ec02c4f96c75c49835c (diff)
configs: phycore_am62x_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 <d.schultz@phytec.de> Reviewed-by: Wadim Egorov <w.egorov@phytec.de>
Diffstat (limited to 'configs/phycore_am62x_a53_defconfig')
-rw-r--r--configs/phycore_am62x_a53_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/phycore_am62x_a53_defconfig b/configs/phycore_am62x_a53_defconfig
index 0494fc408b7..d7aa59bf1dd 100644
--- a/configs/phycore_am62x_a53_defconfig
+++ b/configs/phycore_am62x_a53_defconfig
@@ -13,6 +13,7 @@ CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80b80000
CONFIG_SF_DEFAULT_SPEED=25000000
CONFIG_ENV_SIZE=0x20000
CONFIG_ENV_OFFSET=0x680000
+CONFIG_ENV_SECT_SIZE=0x20000
CONFIG_SPL_DM_SPI=y
CONFIG_DEFAULT_DEVICE_TREE="ti/k3-am625-phyboard-lyra-rdk"
CONFIG_OF_LIBFDT_OVERLAY=y
@@ -84,6 +85,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