Skip to content
Commit 5d4f7b4e authored by Patrick Delaunay's avatar Patrick Delaunay Committed by Tom Rini
Browse files

env: mmc: add redundancy support in mmc_offset_try_partition



Manage 2 copy at the end of the partition selected by config
"u-boot,mmc-env-partition" to save the U-Boot environment,
with CONFIG_ENV_SIZE and 2*CONFIG_ENV_SIZE offset.

This patch allows to support redundancy (CONFIG_ENV_OFFSET_REDUND).

Signed-off-by: default avatarPatrick Delaunay <patrick.delaunay@st.com>
parent 76b640c3
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment