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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment