Forked from
Reform / reform-boundary-uboot
Source project has a limited visibility.
-
Phil Sutter authored
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:
Phil Sutter <phil.sutter@viprinet.com>
Phil Sutter authoredWithout 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:
Phil Sutter <phil.sutter@viprinet.com>