Re: [U-Boot] [PATCH] ubi: env: fix redundand management

2019-10-16 Thread Heiko Schocher
Hello Philippe, Am 14.10.2019 um 19:41 schrieb Philippe Reynes: 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 condider that a redundand env is used. To fix

Re: [U-Boot] [PATCH] ubi: env: fix redundand management

2019-10-15 Thread Heiko Schocher
Hello Philippe, Am 14.10.2019 um 19:41 schrieb Philippe Reynes: 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 condider typo. that a redundand env is

[U-Boot] [PATCH] ubi: env: fix redundand management

2019-10-14 Thread Philippe Reynes
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 condider that a redundand env is used. To fix this issue, I've added a hidden flag ENV_UBI_IS_VOLUME_REDUND that