mtd: ensure UBI is compiled when ENV_IS_IN_UBI is selected
UBI must be enabled when the environment is in UBI. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
This commit is contained in:
2
env/Kconfig
vendored
2
env/Kconfig
vendored
@@ -366,6 +366,8 @@ config ENV_SPI_MODE
|
||||
config ENV_IS_IN_UBI
|
||||
bool "Environment in a UBI volume"
|
||||
depends on !CHAIN_OF_TRUST
|
||||
depends on MTD_UBI
|
||||
depends on CMD_UBI
|
||||
help
|
||||
Define this if you have an UBI volume that you want to use for the
|
||||
environment. This has the benefit of wear-leveling the environment
|
||||
|
||||
Reference in New Issue
Block a user