env: x86: braswell: Set ENV_IS_IN_SPI_FLASH as default
authorBin Meng <bmeng.cn@gmail.com>
Thu, 19 Oct 2017 01:20:54 +0000 (18:20 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 27 Oct 2017 07:13:47 +0000 (15:13 +0800)
Imply does not work for a Kconfig choice. Update ENV_IS_IN_SPI_FLASH
to be the default one for Intel Braswell.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/braswell/Kconfig
env/Kconfig

index 0e214a7432c77ba60737be49f3638d88bf6a335f..616f22878831870bd14cbbb4337fc7fc7f6ac4bd 100644 (file)
@@ -12,7 +12,6 @@ config INTEL_BRASWELL
        imply HAVE_INTEL_ME
        imply HAVE_VBT
        imply ENABLE_MRC_CACHE
-       imply ENV_IS_IN_SPI_FLASH
        imply AHCI_PCI
        imply ICH_SPI
        imply MMC
index 02cb7cbb751dbc6d0a61439bac02bb297d9d67af..8c9d800f485fe120cdc899d79087ec273bbc63d6 100644 (file)
@@ -16,6 +16,7 @@ choice
        default ENV_IS_IN_FLASH if SH && !CPU_SH4
        default ENV_IS_IN_SPI_FLASH if ARMADA_XP
        default ENV_IS_IN_SPI_FLASH if INTEL_BAYTRAIL
+       default ENV_IS_IN_SPI_FLASH if INTEL_BRASWELL
        default ENV_IS_IN_SPI_FLASH if INTEL_BROADWELL
        default ENV_IS_IN_SPI_FLASH if NORTHBRIDGE_INTEL_IVYBRIDGE
        default ENV_IS_IN_SPI_FLASH if INTEL_QUARK