summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--env/Kconfig15
1 files changed, 15 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig
index a3c6298273..73332ceeb0 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -10,6 +10,7 @@ config ENV_IS_NOWHERE
depends on !ENV_IS_IN_NVRAM
depends on !ENV_IS_IN_ONENAND
depends on !ENV_IS_IN_REMOTE
+ depends on !ENV_IS_IN_SATA
depends on !ENV_IS_IN_SPI_FLASH
depends on !ENV_IS_IN_UBI
default y
@@ -291,6 +292,20 @@ config ENV_IS_IN_REMOTE
local device can get the environment from remote memory
space by SRIO or PCIE links.
+config ENV_IS_IN_SATA
+ bool "Environment is in SATA disk"
+ depends on !CHAIN_OF_TRUST
+ help
+ Define this if you have a SATA disk device which you
+ want to use for the environment.
+
+ - CONFIG_ENV_OFFSET:
+ - CONFIG_ENV_SIZE:
+
+ These two #defines specify the offset and size of the
+ environment area within the SATA disk. CONFIG_ENV_OFFSET must be
+ aligned to an disk sector boundary.
+
config ENV_IS_IN_SPI_FLASH
bool "Environment is in SPI flash"
depends on !CHAIN_OF_TRUST