diff options
author | Simon Glass | 2017-07-23 21:19:44 -0600 |
---|---|---|
committer | Tom Rini | 2017-07-25 21:24:09 -0400 |
commit | ef6253d7b321f78d8251c3d3ecfd8991e02b8ca9 (patch) | |
tree | a162b3781c982f311b8c2ea4d63bbb5a1d48eed0 /common | |
parent | f0bc2b542beef7636ea4e846fa75cd88d88c82cf (diff) |
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/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig index 4d8ef6640b2..77ad47b4b60 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 |