diff mbox series

[v1,1/5] arm: xea: defconfig: Define space for redundant envs in SPI-NOR flash

Message ID 20200125080140.1267-2-lukma@denx.de
State Accepted
Commit 0081b0a6aaf60702ff464264b1730284a17c74dc
Headers show
Series arm: xea: Enhancements for i.MX28 based XEA board | expand

Commit Message

Lukasz Majewski Jan. 25, 2020, 8:01 a.m. UTC
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 at denx.de>
---

 configs/imx28_xea_defconfig | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

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