Message ID | 20250116112932.1983801-4-d.schultz@phytec.de |
---|---|
State | Accepted |
Commit | a416d9e680718de1c76c4196e1db77e3ca07662f |
Delegated to: | Tom Rini |
Headers | show |
Series | [1/4] board: phytec: common: k3: Add missing boot source to env | expand |
Am 16.01.25 um 18:29 schrieb Daniel Schultz: > Enable ENV_OVERWRITE to allow environment variables to be > overwritten within the board code. This is required to add > MAC addresses during SOM detection. > > Additionally, set ENV_IS_NOWHERE for boot sources other than MMC. > > Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Reviewed-by: Wadim Egorov <w.egorov@phytec.de> > --- > configs/phycore_am64x_a53_defconfig | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/configs/phycore_am64x_a53_defconfig b/configs/phycore_am64x_a53_defconfig > index 4a91b72e700..3027a94b0d1 100644 > --- a/configs/phycore_am64x_a53_defconfig > +++ b/configs/phycore_am64x_a53_defconfig > @@ -89,6 +89,8 @@ CONFIG_OF_OVERLAY_LIST="ti/k3-am6xx-phycore-disable-spi-nor ti/k3-am6xx-phycore- > CONFIG_MULTI_DTB_FIT=y > CONFIG_SPL_MULTI_DTB_FIT=y > CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y > +CONFIG_ENV_OVERWRITE=y > +CONFIG_ENV_IS_NOWHERE=y > CONFIG_ENV_IS_IN_MMC=y > CONFIG_SYS_REDUNDAND_ENVIRONMENT=y > CONFIG_SYS_MMC_ENV_DEV=1
diff --git a/configs/phycore_am64x_a53_defconfig b/configs/phycore_am64x_a53_defconfig index 4a91b72e700..3027a94b0d1 100644 --- a/configs/phycore_am64x_a53_defconfig +++ b/configs/phycore_am64x_a53_defconfig @@ -89,6 +89,8 @@ CONFIG_OF_OVERLAY_LIST="ti/k3-am6xx-phycore-disable-spi-nor ti/k3-am6xx-phycore- CONFIG_MULTI_DTB_FIT=y CONFIG_SPL_MULTI_DTB_FIT=y CONFIG_SPL_MULTI_DTB_FIT_NO_COMPRESSION=y +CONFIG_ENV_OVERWRITE=y +CONFIG_ENV_IS_NOWHERE=y CONFIG_ENV_IS_IN_MMC=y CONFIG_SYS_REDUNDAND_ENVIRONMENT=y CONFIG_SYS_MMC_ENV_DEV=1
Enable ENV_OVERWRITE to allow environment variables to be overwritten within the board code. This is required to add MAC addresses during SOM detection. Additionally, set ENV_IS_NOWHERE for boot sources other than MMC. Signed-off-by: Daniel Schultz <d.schultz@phytec.de> --- configs/phycore_am64x_a53_defconfig | 2 ++ 1 file changed, 2 insertions(+)