From patchwork Sat Jan 25 08:01:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 240079 List-Id: U-Boot discussion From: lukma at denx.de (Lukasz Majewski) Date: Sat, 25 Jan 2020 09:01:36 +0100 Subject: [PATCH v1 1/5] arm: xea: defconfig: Define space for redundant envs in SPI-NOR flash In-Reply-To: <20200125080140.1267-1-lukma@denx.de> References: <20200125080140.1267-1-lukma@denx.de> Message-ID: <20200125080140.1267-2-lukma@denx.de> 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 --- configs/imx28_xea_defconfig | 2 ++ 1 file changed, 2 insertions(+) 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