summaryrefslogtreecommitdiff
path: root/common/cmd_i2c.c
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2013-07-19 12:20:26 +0200
committerScott Wood <scottwood@freescale.com>2013-08-22 17:49:47 -0500
commit2b26201a2aef0b310b7c04702b0dba5dea493f77 (patch)
tree1c251e0d0ae78df6b5f51cbd4470e783a4cb4c12 /common/cmd_i2c.c
parent47b6dad319af3b0d059d1d16003f8ac73e98cdb0 (diff)
downloadu-boot-imx-2b26201a2aef0b310b7c04702b0dba5dea493f77.zip
u-boot-imx-2b26201a2aef0b310b7c04702b0dba5dea493f77.tar.gz
u-boot-imx-2b26201a2aef0b310b7c04702b0dba5dea493f77.tar.bz2
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: Phil Sutter <phil.sutter@viprinet.com>
Diffstat (limited to 'common/cmd_i2c.c')
0 files changed, 0 insertions, 0 deletions