mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 07:31:15 +00:00
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>
This commit is contained in:
parent
246c94f192
commit
9913a82128
1 changed files with 1 additions and 1 deletions
2
env/Kconfig
vendored
2
env/Kconfig
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue