summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-07-24 03:19:48 (GMT)
committerTom Rini <trini@konsulko.com>2017-07-26 01:34:39 (GMT)
commit609bf924117950b88987a5fa477acf1239bfdbc1 (patch)
tree812a615e2547e14c9a8108fa88553c4ce12024cb /common
parentb31e065f8999d2dc70f3deb430c9b66a5d0d02ea (diff)
downloadu-boot-fsl-qoriq-609bf924117950b88987a5fa477acf1239bfdbc1.tar.xz
Convert CONFIG_ENV_IS_IN_ONENAND to Kconfig
This converts the following to Kconfig: CONFIG_ENV_IS_IN_ONENAND 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 abf55e5..8c8d2e4 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -466,6 +466,21 @@ config ENV_IS_IN_NVRAM
can just be read and written to, without any special
provision.
+config ENV_IS_IN_ONENAND
+ bool "Environment is in OneNAND"
+ depends on !CHAIN_OF_TRUST
+ help
+ Define this if you want to put your local device's environment in
+ OneNAND.
+
+ - CONFIG_ENV_ADDR:
+ - CONFIG_ENV_SIZE:
+
+ These two #defines are used to determine the device range 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_REMOTE
bool "Environment is in remove memory space"
depends on !CHAIN_OF_TRUST