summaryrefslogtreecommitdiffstats
path: root/configs/bf561-acvilon_defconfig
diff options
context:
space:
mode:
authorMarcin Niestroj <m.niestroj@grinn-global.com>2016-05-24 14:59:55 +0200
committerHeiko Schocher <hs@denx.de>2016-06-13 06:41:20 +0200
commitc1f51e0f3edca57273ff524714b69345ce627996 (patch)
tree02ebbd9f93a2f66cdbd9d6003b9fa2e860574586 /configs/bf561-acvilon_defconfig
parent6b3943f1b04be60f147ee540fbd72c4c7ea89f80 (diff)
downloadblackbird-obmc-uboot-c1f51e0f3edca57273ff524714b69345ce627996.tar.gz
blackbird-obmc-uboot-c1f51e0f3edca57273ff524714b69345ce627996.zip
common: env_ubi: Clear environment buffer before reading
In case we have restarted u-boot there is a chance that environment buffer contains old environment (from the previous boot). If UBI volume is zero size, ubi_volume_read() doesn't modify the buffer and exits successfully. We need to clear buffer manually before reading it from UBI, so the invalid CRC will cause setting default environment in case that the UBI volume is zero size. Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Diffstat (limited to 'configs/bf561-acvilon_defconfig')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud