From: Lukasz Majewski <lukma@denx.de>
Date: Sat, 25 Jan 2020 08:01:36 +0000 (+0100)
Subject: arm: xea: defconfig: Define space for redundant envs in SPI-NOR flash
X-Git-Tag: v2025.01-rc5-pxa1908~2565^2~28
X-Git-Url: http://git.dujemihanovic.xyz/img/html/static/gitweb.css?a=commitdiff_plain;h=0081b0a6aaf60702ff464264b1730284a17c74dc;p=u-boot.git

arm: xea: defconfig: Define space for redundant envs in SPI-NOR flash

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>
---

diff --git a/configs/imx28_xea_defconfig b/configs/imx28_xea_defconfig
index 02c66bda30..7281e86d96 100644
--- a/configs/imx28_xea_defconfig
+++ b/configs/imx28_xea_defconfig
@@ -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