aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorPhilippe Reynes <philippe.reynes@softathome.com>2019-10-14 19:41:06 +0200
committerHeiko Schocher <hs@denx.de>2019-10-16 05:53:37 +0200
commit611623417403256dc79205a89d4dc7f826bc805f (patch)
treef5c8c151a54146b43387ea3d6644248c77549787 /cmd
parente6661cf767ce644e6ff835537449979859060c5b (diff)
downloadu-boot-611623417403256dc79205a89d4dc7f826bc805f.zip
u-boot-611623417403256dc79205a89d4dc7f826bc805f.tar.gz
u-boot-611623417403256dc79205a89d4dc7f826bc805f.tar.bz2
ubi: env: fix redundand management
We check (with a #if defined()) the config ENV_UBI_VOLUME_REDUND to know if there is a redundant env. But this config is a string and is always defined with env is in ubi, so we always consider that a redundand env is used. To fix this issue, I've added a hidden flag ENV_UBI_IS_VOLUME_REDUND that is true when ENV_UBI_VOLUME_REDUND is not "". Then, I check this flag in the code, instead of the string ENV_UBI_VOLUME_REDUND. hs: fixed typo s/condider/consider Signed-off-by: Philippe Reynes <philippe.reynes@softathome.com> Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions