env: ubi: KConfig: add CONFIG_ENV_UBI_VOLUME_REDUND

Introduce the KConfig option CONFIG_ENV_UBI_VOLUME_REDUND for defining
the name of the UBI volume used to store the redundant environment.

Signed-off-by: Markus Klotzbuecher <markus.klotzbuecher@kistler.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Cc: Kyungmin Park <kmpark@infradead.org>

hs: get rid of stm32mp1* build errors
This commit is contained in:
Markus Klotzbuecher
2019-05-15 15:15:53 +02:00
committed by Heiko Schocher
parent b237d358b4
commit ff4818cc3e
5 changed files with 8 additions and 5 deletions

6
env/Kconfig vendored
View File

@@ -507,6 +507,12 @@ config ENV_UBI_VOLUME
help
Name of the volume that you want to store the environment in.
config ENV_UBI_VOLUME_REDUND
string "UBI redundant volume name"
depends on ENV_IS_IN_UBI
help
Name of the redundant volume that you want to store the environment in.
endif
config USE_DEFAULT_ENV_FILE