Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-sunxi
[oweals/u-boot.git] / env / Kconfig
index bc88c59cd54d1050bd24abc115e5579e6274743b..4661082f0e1c8bdd545ea44d847a38f8f901b60c 100644 (file)
@@ -1,5 +1,8 @@
 menu "Environment"
 
+config ENV_SUPPORT
+       def_bool y
+
 config ENV_IS_NOWHERE
        bool "Environment is not stored"
        default y if !ENV_IS_IN_EEPROM && !ENV_IS_IN_EXT4 && \
@@ -366,6 +369,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