diff options
author | Ye Li <ye.li@nxp.com> | 2018-03-22 23:23:44 -0700 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2018-04-26 02:26:37 -0700 |
commit | 75b6d78fbb2ed29039852f9e652f9acd80bf7eaa (patch) | |
tree | 43be85df91caf35b44dad7f19bd67e778d2e4da9 /env | |
parent | aaef173cba9912834db08d6f0194216e8fe3c6d1 (diff) |
MLK-18141-2 env: Kconfig: Add ENV_IS_IN_SATA config
The ENV_IS_IN_SATA config is missed, add it into env/Kconfig, that
we can enable it for SATA boot.
Signed-off-by: Ye Li <ye.li@nxp.com>
Diffstat (limited to 'env')
-rw-r--r-- | env/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/env/Kconfig b/env/Kconfig index a3c6298273e..73332ceeb0e 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 |