diff options
author | Fabio Estevam <festevam@denx.de> | 2024-02-13 08:43:41 -0300 |
---|---|---|
committer | Fabio Estevam <festevam@denx.de> | 2024-02-19 08:19:39 -0300 |
commit | 6dfdfad3c3a4a39126070c59c4bc5ec25aaacede (patch) | |
tree | 980d9b095075c5cf61c59b3ea98687c790126947 | |
parent | 399c4a9e1cc48322edbb72753d7af5dde477f812 (diff) | |
download | u-boot-6dfdfad3c3a4a39126070c59c4bc5ec25aaacede.zip u-boot-6dfdfad3c3a4a39126070c59c4bc5ec25aaacede.tar.gz u-boot-6dfdfad3c3a4a39126070c59c4bc5ec25aaacede.tar.bz2 |
msc_sm2s_imx8mp: Add redundant environment support
Redundant environment support is required for software updates.
Add support for it.
Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Ian Ray <ian.ray@gehealthcare.com>
-rw-r--r-- | configs/msc_sm2s_imx8mp_defconfig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/configs/msc_sm2s_imx8mp_defconfig b/configs/msc_sm2s_imx8mp_defconfig index a190c1e..3a49b7d 100644 --- a/configs/msc_sm2s_imx8mp_defconfig +++ b/configs/msc_sm2s_imx8mp_defconfig @@ -5,7 +5,8 @@ CONFIG_SYS_MALLOC_LEN=0x2000000 CONFIG_SPL_GPIO=y CONFIG_SPL_LIBCOMMON_SUPPORT=y CONFIG_SPL_LIBGENERIC_SUPPORT=y -CONFIG_ENV_SIZE=0x1000 +CONFIG_ENV_SIZE=0x4000 +CONFIG_ENV_OFFSET=0x200000 CONFIG_DM_GPIO=y CONFIG_DEFAULT_DEVICE_TREE="imx8mp-msc-sm2s" CONFIG_SPL_TEXT_BASE=0x920000 @@ -16,6 +17,7 @@ CONFIG_SPL_SERIAL=y CONFIG_SPL_DRIVERS_MISC=y CONFIG_SPL_STACK=0x960000 CONFIG_SPL=y +CONFIG_ENV_OFFSET_REDUND=0x204000 CONFIG_SPL_IMX_ROMAPI_LOADADDR=0x48000000 CONFIG_SYS_LOAD_ADDR=0x40480000 CONFIG_SYS_BOOT_GET_CMDLINE=y @@ -62,6 +64,8 @@ CONFIG_CMD_EXT4_WRITE=y CONFIG_OF_CONTROL=y CONFIG_SPL_OF_CONTROL=y CONFIG_ENV_OVERWRITE=y +CONFIG_ENV_IS_IN_MMC=y +CONFIG_SYS_REDUNDAND_ENVIRONMENT=y CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y CONFIG_USE_ETHPRIME=y |