+config USE_DEFAULT_ENV_FILE
+ bool "Create default environment from file"
+ help
+ Normally, the default environment is automatically generated
+ based on the settings of various CONFIG_* options, as well
+ as the CONFIG_EXTRA_ENV_SETTINGS. By selecting this option,
+ you can instead define the entire default environment in an
+ external file.
+
+config DEFAULT_ENV_FILE
+ string "Path to default environment file"
+ depends on USE_DEFAULT_ENV_FILE
+ help
+ The path containing the default environment. The format is
+ the same as accepted by the mkenvimage tool: lines
+ containing key=value pairs, blank lines and lines beginning
+ with # are ignored.
+
+config ENV_VARS_UBOOT_RUNTIME_CONFIG
+ bool "Add run-time information to the environment"
+ help
+ Enable this in order to add variables describing certain
+ run-time determined information about the hardware to the
+ environment. These will be named board_name, board_rev.
+
+if SPL_ENV_SUPPORT
+config SPL_ENV_IS_NOWHERE
+ bool "SPL Environment is not stored"
+ default y if ENV_IS_NOWHERE
+ help
+ Similar to ENV_IS_NOWHERE, used for SPL environment.
+
+config SPL_ENV_IS_IN_MMC
+ bool "SPL Environment in an MMC device"
+ depends on !SPL_ENV_IS_NOWHERE
+ depends on ENV_IS_IN_MMC
+ default y
+ help
+ Similar to ENV_IS_IN_MMC, used for SPL environment.
+
+config SPL_ENV_IS_IN_FAT
+ bool "SPL Environment is in a FAT filesystem"
+ depends on !SPL_ENV_IS_NOWHERE
+ depends on ENV_IS_IN_FAT
+ default y
+ help
+ Similar to ENV_IS_IN_FAT, used for SPL environment.
+
+config SPL_ENV_IS_IN_EXT4
+ bool "SPL Environment is in a EXT4 filesystem"
+ depends on !SPL_ENV_IS_NOWHERE
+ depends on ENV_IS_IN_EXT4
+ default y
+ help
+ Similar to ENV_IS_IN_EXT4, used for SPL environment.
+
+config SPL_ENV_IS_IN_NAND
+ bool "SPL Environment in a NAND device"
+ depends on !SPL_ENV_IS_NOWHERE
+ depends on ENV_IS_IN_NAND
+ default y
+ help
+ Similar to ENV_IS_IN_NAND, used for SPL environment.
+
+config SPL_ENV_IS_IN_SPI_FLASH
+ bool "SPL Environment is in SPI flash"
+ depends on !SPL_ENV_IS_NOWHERE
+ depends on ENV_IS_IN_SPI_FLASH
+ default y
+ help
+ Similar to ENV_IS_IN_SPI_FLASH, used for SPL environment.
+
+config SPL_ENV_IS_IN_FLASH
+ bool "SPL Environment in flash memory"
+ depends on !SPL_ENV_IS_NOWHERE
+ depends on ENV_IS_IN_FLASH
+ default y
+ help
+ Similar to ENV_IS_IN_FLASH, used for SPL environment.
+
+endif
+
+if TPL_ENV_SUPPORT
+
+config TPL_ENV_IS_NOWHERE
+ bool "TPL Environment is not stored"
+ default y if ENV_IS_NOWHERE
+ help
+ Similar to ENV_IS_NOWHERE, used for TPL environment.
+
+config TPL_ENV_IS_IN_MMC
+ bool "TPL Environment in an MMC device"
+ depends on !TPL_ENV_IS_NOWHERE
+ depends on ENV_IS_IN_MMC
+ default y
+ help
+ Similar to ENV_IS_IN_MMC, used for TPL environment.
+
+config TPL_ENV_IS_IN_FAT
+ bool "TPL Environment is in a FAT filesystem"
+ depends on !TPL_ENV_IS_NOWHERE
+ depends on ENV_IS_IN_FAT
+ default y
+ help
+ Similar to ENV_IS_IN_FAT, used for TPL environment.
+
+config TPL_ENV_IS_IN_EXT4
+ bool "TPL Environment is in a EXT4 filesystem"
+ depends on !TPL_ENV_IS_NOWHERE
+ depends on ENV_IS_IN_EXT4
+ default y
+ help
+ Similar to ENV_IS_IN_EXT4, used for TPL environment.
+
+config TPL_ENV_IS_IN_NAND
+ bool "TPL Environment in a NAND device"
+ depends on !TPL_ENV_IS_NOWHERE
+ depends on ENV_IS_IN_NAND
+ default y
+ help
+ Similar to ENV_IS_IN_NAND, used for TPL environment.
+
+config TPL_ENV_IS_IN_SPI_FLASH
+ bool "TPL Environment is in SPI flash"
+ depends on !TPL_ENV_IS_NOWHERE
+ depends on ENV_IS_IN_SPI_FLASH
+ default y
+ help
+ Similar to ENV_IS_IN_SPI_FLASH, used for TPL environment.
+
+config TPL_ENV_IS_IN_FLASH
+ bool "TPL Environment in flash memory"
+ depends on !TPL_ENV_IS_NOWHERE
+ depends on ENV_IS_IN_FLASH
+ default y
+ help
+ Similar to ENV_IS_IN_FLASH, used for TPL environment.
+
+endif
+