aboutsummaryrefslogtreecommitdiff
path: root/env
diff options
context:
space:
mode:
authorTom Rini2024-01-10 13:46:08 -0500
committerTom Rini2024-01-22 14:17:35 -0500
commit9913a8212888034dea8a432a9977d2c930900e1f (patch)
tree9168b8e2deabb217a65bee6667685ce68b105dbb /env
parent246c94f192b9ca9bd4e73cf29f343dfc511fc6d3 (diff)
env: Make ENV_IS_IN_SPI_FLASH depend on SPI flash being present
In order for our environment to be present on SPI flash we need to depend not on the symbol for a SPI controller but rather that SPI flash of some sort is present. Update the dependencies. Signed-off-by: Tom Rini <trini@konsulko.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 f5f09692332..7885c8bf831 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -342,7 +342,7 @@ config ENV_IS_IN_REMOTE
config ENV_IS_IN_SPI_FLASH
bool "Environment is in SPI flash"
- depends on !CHAIN_OF_TRUST && SPI
+ depends on !CHAIN_OF_TRUST && (SPI_FLASH || DM_SPI_FLASH)
default y if ARMADA_XP
default y if INTEL_BAYTRAIL
default y if INTEL_BRASWELL