]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx8mm-cl-iot-gate: Add redundand environment support
authorFabio Estevam <festevam@denx.de>
Tue, 12 Apr 2022 16:05:39 +0000 (13:05 -0300)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 17:10:44 +0000 (19:10 +0200)
Add redundand environment support as it is required
by SWUpdate.

While at it, also adjust the CONFIG_ENV_OFFSET to a more appropriate
larger offset as done on other i.MX8M defconfigs.

Signed-off-by: Fabio Estevam <festevam@denx.de>
configs/imx8mm-cl-iot-gate_defconfig

index 9265299e98f991489c5d51965bad22f2a2b587a5..c9946cacef1112849d0d0d46dc305263d0169cba 100644 (file)
@@ -8,7 +8,9 @@ CONFIG_SPL_GPIO=y
 CONFIG_SPL_LIBCOMMON_SUPPORT=y
 CONFIG_SPL_LIBGENERIC_SUPPORT=y
 CONFIG_ENV_SIZE=0x4000
-CONFIG_ENV_OFFSET=0x4400
+CONFIG_ENV_OFFSET=0x200000
+CONFIG_ENV_OFFSET_REDUND=0x204000
+CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_DM_GPIO=y
 CONFIG_DEFAULT_DEVICE_TREE="imx8mm-cl-iot-gate"
 CONFIG_SPL_TEXT_BASE=0x7E1000