aboutsummaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorTom Rini2019-05-29 17:01:28 -0400
committerJagan Teki2019-06-13 12:51:06 +0530
commita4298ddaf8bbccf8a14acb6be33764eecbea9abd (patch)
treebacd31a2b7e884dd1ddb09739cce2f85e09cb6cf /env
parent9a4b90015a6a03c14071802f8bf49a17e0be6b16 (diff)
Kconfig: Add SPI / SPI_FLASH as dependencies
In order to use CMD_SF / CMD_SPI / ENV_IS_IN_SPI_FLASH we need to have the SPI (or SPI_FLASH/DM_SPI_FLASH, for CMD_SF) enabled. Express this in the Kconfigs. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'env')
-rw-r--r--env/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/env/Kconfig b/env/Kconfig
index 1e10c7a4c46..932081670e9 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -293,7 +293,7 @@ config ENV_IS_IN_REMOTE
config ENV_IS_IN_SPI_FLASH
bool "Environment is in SPI flash"
- depends on !CHAIN_OF_TRUST
+ depends on !CHAIN_OF_TRUST && SPI
default y if ARMADA_XP
default y if INTEL_BAYTRAIL
default y if INTEL_BRASWELL