]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: xea: defconfig: Define space for redundant envs in SPI-NOR flash
authorLukasz Majewski <lukma@denx.de>
Sat, 25 Jan 2020 08:01:36 +0000 (09:01 +0100)
committerStefano Babic <sbabic@denx.de>
Sun, 9 Feb 2020 13:59:16 +0000 (14:59 +0100)
Redundant envs help with assuring better reliability for the system as they
prevent from the situation when envs are stored only in a single place.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
configs/imx28_xea_defconfig

index 02c66bda30e2bfaee5ca4055312d10b0feb7b4ec..7281e86d96e1043f4592b0921e50a3af191dc4e5 100644 (file)
@@ -67,6 +67,8 @@ CONFIG_USE_ENV_SPI_MAX_HZ=y
 CONFIG_ENV_SPI_MAX_HZ=40000000
 CONFIG_USE_ENV_SPI_MODE=y
 CONFIG_ENV_SPI_MODE=0x0
+CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
+CONFIG_ENV_OFFSET_REDUND=0x90000
 CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_DM=y
 CONFIG_SPL_DM=y