aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-01-10 13:46:08 -0500
committerTom Rini <trini@konsulko.com>2024-01-22 13:30:17 -0500
commit80724ed22b877926c7eea2e7a5733164cdd635f0 (patch)
tree5db37633dceb0a9e9389a35fb41daa9b22031b22
parentaa1ef6cc018567ac309eee2266c59f4bdb45ec2f (diff)
downloadu-boot-80724ed22b877926c7eea2e7a5733164cdd635f0.zip
u-boot-80724ed22b877926c7eea2e7a5733164cdd635f0.tar.gz
u-boot-80724ed22b877926c7eea2e7a5733164cdd635f0.tar.bz2
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>
-rw-r--r--env/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/env/Kconfig b/env/Kconfig
index f5f0969..7885c8b 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