summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-07-24 03:19:44 (GMT)
committerTom Rini <trini@konsulko.com>2017-07-26 01:24:09 (GMT)
commitef6253d7b321f78d8251c3d3ecfd8991e02b8ca9 (patch)
treea162b3781c982f311b8c2ea4d63bbb5a1d48eed0 /common
parentf0bc2b542beef7636ea4e846fa75cd88d88c82cf (diff)
downloadu-boot-fsl-qoriq-ef6253d7b321f78d8251c3d3ecfd8991e02b8ca9.tar.xz
Convert CONFIG_ENV_IS_IN_DATAFLASH to Kconfig
This converts the following to Kconfig: CONFIG_ENV_IS_IN_DATAFLASH Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 4d8ef66..77ad47b 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -176,6 +176,21 @@ endmenu
menu "Environment"
+config ENV_IS_IN_DATAFLASH
+ bool "Environment in dataflash"
+ depends on !CHAIN_OF_TRUST
+ help
+ Define this if you have a DataFlash memory device which you
+ want to use for the environment.
+
+ - CONFIG_ENV_OFFSET:
+ - CONFIG_ENV_ADDR:
+ - CONFIG_ENV_SIZE:
+
+ These three #defines specify the offset and size of the
+ environment area within the total memory of your DataFlash placed
+ at the specified address.
+
config ENV_IS_IN_EEPROM
bool "Environment in EEPROM"
depends on !CHAIN_OF_TRUST