From ef6253d7b321f78d8251c3d3ecfd8991e02b8ca9 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sun, 23 Jul 2017 21:19:44 -0600 Subject: Convert CONFIG_ENV_IS_IN_DATAFLASH to Kconfig This converts the following to Kconfig: CONFIG_ENV_IS_IN_DATAFLASH Signed-off-by: Simon Glass --- common/Kconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'common') 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 -- cgit v1.1