Skip to content
Snippets Groups Projects
Commit 2b26201a authored by Phil Sutter's avatar Phil Sutter Committed by Scott Wood
Browse files

env_nand.c: support falling back to redundant env when writing


Without this patch, when the currently chosen environment to be written
has bad blocks, saveenv fails completely. Instead, when there is
redundant environment fall back to the other copy. Environment reading
needs no adjustment, as the fallback logic for incomplete writes applies
to this case as well.

Signed-off-by: default avatarPhil Sutter <phil.sutter@viprinet.com>
parent 47b6dad3
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment