summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-07-23 21:19:42 -0600
committerTom Rini <trini@konsulko.com>2017-07-25 21:21:24 -0400
commit88b233a347378dc51113e9ef7ffe62723c9b7758 (patch)
tree29e5fb17e8b3ea0d93f8d51e1c5d03404f9836a3 /common
parent85fc970d74d09f33fcdcc649e73c5dc4f5334605 (diff)
Convert CONFIG_ENV_IS_IN_NVRAM to Kconfig
This converts the following to Kconfig: CONFIG_ENV_IS_IN_NVRAM Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/common/Kconfig b/common/Kconfig
index 29e25fef2f5..2f86e7ca909 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -340,6 +340,22 @@ config ENV_IS_IN_NAND
Currently, CONFIG_ENV_OFFSET_REDUND is not supported when
using CONFIG_ENV_OFFSET_OOB.
+config ENV_IS_IN_NVRAM
+ bool "Environment in a non-volatile RAM"
+ depends on !CHAIN_OF_TRUST
+ help
+ Define this if you have some non-volatile memory device
+ (NVRAM, battery buffered SRAM) which you want to use for the
+ environment.
+
+ - CONFIG_ENV_ADDR:
+ - CONFIG_ENV_SIZE:
+
+ These two #defines are used to determine the memory area you
+ want to use for environment. It is assumed that this memory
+ can just be read and written to, without any special
+ provision.
+
config ENV_IS_IN_UBI
bool "Environment in a UBI volume"
depends on !CHAIN_OF_TRUST