]> git.sur5r.net Git - u-boot/commitdiff
x86: kconfig: Imply ENABLE_MRC_CACHE in the platform Kconfig
authorBin Meng <bmeng.cn@gmail.com>
Sun, 30 Jul 2017 13:23:14 +0000 (06:23 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 1 Aug 2017 12:17:02 +0000 (20:17 +0800)
Platform knows whether MRC cache is implemented, but using it can
be a choice of a specific board.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
17 files changed:
arch/x86/cpu/baytrail/Kconfig
arch/x86/cpu/broadwell/Kconfig
arch/x86/cpu/ivybridge/Kconfig
arch/x86/cpu/quark/Kconfig
configs/bayleybay_defconfig
configs/chromebook_link64_defconfig
configs/chromebook_link_defconfig
configs/chromebook_samus_defconfig
configs/chromebox_panther_defconfig
configs/conga-qeval20-qa3-e3845-internal-uart_defconfig
configs/conga-qeval20-qa3-e3845_defconfig
configs/cougarcanyon2_defconfig
configs/dfi-bt700-q7x-151_defconfig
configs/galileo_defconfig
configs/minnowmax_defconfig
configs/som-db5800-som-6867_defconfig
configs/theadorable-x86-dfi-bt700_defconfig

index ac27e7ae30703b01327beb294151eca6e5b712d6..57a3a9624f2e41a038eefc820d59a7f9b07936c8 100644 (file)
@@ -10,6 +10,7 @@ config INTEL_BAYTRAIL
        select ARCH_MISC_INIT if !EFI
        imply ENV_IS_IN_SPI_FLASH
        imply HAVE_INTEL_ME if !EFI
+       imply ENABLE_MRC_CACHE
 
 if INTEL_BAYTRAIL
 config INTERNAL_UART
index f3006c3e6750db2602c0036963c726ebf3104501..a9a461d33b27031455f2f928ede24de7929df397 100644 (file)
@@ -8,6 +8,7 @@ config INTEL_BROADWELL
        select CACHE_MRC_BIN
        select ARCH_EARLY_INIT_R
        imply HAVE_INTEL_ME
+       imply ENABLE_MRC_CACHE
 
 if INTEL_BROADWELL
 
index ed6b8349ee3a654235aefa591775bf19b91b6c8d..5df5e3a47b36a8995da499d2f4a4f016df627043 100644 (file)
@@ -9,6 +9,7 @@ config NORTHBRIDGE_INTEL_IVYBRIDGE
        bool
        select CACHE_MRC_BIN if HAVE_MRC
        imply HAVE_INTEL_ME
+       imply ENABLE_MRC_CACHE
 
 if NORTHBRIDGE_INTEL_IVYBRIDGE
 
index 9e7d9834e695ceed5e7b6e247a8ddae5aedfaedf..68bb219ae2e3117abe967391507deb25a35ab3b3 100644 (file)
@@ -9,6 +9,7 @@ config INTEL_QUARK
        select HAVE_RMU
        select ARCH_EARLY_INIT_R
        select ARCH_MISC_INIT
+       imply ENABLE_MRC_CACHE
 
 if INTEL_QUARK
 
index bf003907235aa8c8ee2df1fc17ac756a4bab52ee..036ea205fd60518c30fc39ae4b55b32a4ca13713 100644 (file)
@@ -3,7 +3,6 @@ CONFIG_VENDOR_INTEL=y
 CONFIG_DEFAULT_DEVICE_TREE="bayleybay"
 CONFIG_TARGET_BAYLEYBAY=y
 CONFIG_INTERNAL_UART=y
-CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_SMP=y
 CONFIG_HAVE_VGA_BIOS=y
 CONFIG_VGA_BIOS_ADDR=0xfffa0000
index 5224497f9534dd39a433613adf84ddc3fa917dd2..c8f6c2be3ab6adea4a7f28f03998f5e38e8b536d 100644 (file)
@@ -11,7 +11,6 @@ CONFIG_VENDOR_GOOGLE=y
 CONFIG_DEFAULT_DEVICE_TREE="chromebook_link"
 CONFIG_TARGET_CHROMEBOOK_LINK64=y
 CONFIG_DEBUG_UART=y
-CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_HAVE_MRC=y
 CONFIG_SMP=y
 CONFIG_HAVE_VGA_BIOS=y
index 495a5bc67e1570bdf54618e2312d6967b209a50f..83af9e1eb1b26a7f4d082d59d2cbc597eb0609b1 100644 (file)
@@ -4,7 +4,6 @@ CONFIG_VENDOR_GOOGLE=y
 CONFIG_DEFAULT_DEVICE_TREE="chromebook_link"
 CONFIG_TARGET_CHROMEBOOK_LINK=y
 CONFIG_DEBUG_UART=y
-CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_HAVE_MRC=y
 CONFIG_SMP=y
 CONFIG_HAVE_VGA_BIOS=y
index 39a9b0d0a307efa7b58f619f42f47f9a8835b74e..7af4898d74a2b7e84ae26a6b8e28a4b6b354dde5 100644 (file)
@@ -4,7 +4,6 @@ CONFIG_VENDOR_GOOGLE=y
 CONFIG_DEFAULT_DEVICE_TREE="chromebook_samus"
 CONFIG_TARGET_CHROMEBOOK_SAMUS=y
 CONFIG_DEBUG_UART=y
-CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_HAVE_MRC=y
 CONFIG_HAVE_REFCODE=y
 CONFIG_SMP=y
index 4052f5c156018f7510b3ccb752503ed71f99ec0f..6cc2953adda17f59762f9e5aead616b67c8efd05 100644 (file)
@@ -2,7 +2,6 @@ CONFIG_X86=y
 CONFIG_VENDOR_GOOGLE=y
 CONFIG_DEFAULT_DEVICE_TREE="chromebox_panther"
 CONFIG_TARGET_CHROMEBOX_PANTHER=y
-CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_HAVE_MRC=y
 CONFIG_HAVE_VGA_BIOS=y
 CONFIG_FIT=y
index fe75414cfece6bc2c1e3b7ab8c15817c1c24afed..20e64fd9a5c34bfd90ca064c4a397f7521560004 100644 (file)
@@ -4,7 +4,6 @@ CONFIG_TARGET_CONGA_QEVAL20_QA3_E3845=y
 CONFIG_DEFAULT_DEVICE_TREE="conga-qeval20-qa3-e3845"
 CONFIG_INTERNAL_UART=y
 CONFIG_DEBUG_UART=y
-CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_SMP=y
 CONFIG_HAVE_VGA_BIOS=y
 CONFIG_GENERATE_PIRQ_TABLE=y
index 334f0a268b14f249b7cea1cf5ef87ce58bce0e39..496479abe89d96b29d692e3a98c9900eebc642f5 100644 (file)
@@ -3,7 +3,6 @@ CONFIG_VENDOR_CONGATEC=y
 CONFIG_TARGET_CONGA_QEVAL20_QA3_E3845=y
 CONFIG_DEFAULT_DEVICE_TREE="conga-qeval20-qa3-e3845"
 CONFIG_DEBUG_UART=y
-CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_SMP=y
 CONFIG_HAVE_VGA_BIOS=y
 CONFIG_GENERATE_PIRQ_TABLE=y
index 84856aa6f5e936c21574f864bd546569443aab81..ea56e58051b87c8ad98956f7c9400524d8cf345a 100644 (file)
@@ -2,6 +2,7 @@ CONFIG_X86=y
 CONFIG_VENDOR_INTEL=y
 CONFIG_DEFAULT_DEVICE_TREE="cougarcanyon2"
 CONFIG_TARGET_COUGARCANYON2=y
+# CONFIG_ENABLE_MRC_CACHE is not set
 CONFIG_ENV_IS_IN_SPI_FLASH=y
 CONFIG_CONSOLE_MUX=y
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
index 76cdf5542eb2351eb464d2d288c1242c3873e539..193bb542984b0845280b62315484911ecc59b64b 100644 (file)
@@ -3,7 +3,6 @@ CONFIG_VENDOR_DFI=y
 CONFIG_DEFAULT_DEVICE_TREE="dfi-bt700-q7x-151"
 CONFIG_TARGET_DFI_BT700=y
 CONFIG_DEBUG_UART=y
-CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_SMP=y
 CONFIG_HAVE_VGA_BIOS=y
 CONFIG_GENERATE_PIRQ_TABLE=y
index f53970a3d335cdfc7f680120a7159bef12df0747..e8b11e425e73935899deb35456143733d2449eb2 100644 (file)
@@ -2,7 +2,6 @@ CONFIG_X86=y
 CONFIG_VENDOR_INTEL=y
 CONFIG_DEFAULT_DEVICE_TREE="galileo"
 CONFIG_TARGET_GALILEO=y
-CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_GENERATE_PIRQ_TABLE=y
 CONFIG_GENERATE_MP_TABLE=y
 CONFIG_GENERATE_ACPI_TABLE=y
index 1301c168e9e2dd74fd106db3d84ace066446e01b..3d8fdbf01bc133a48ceed4fab564f71d2566897b 100644 (file)
@@ -4,7 +4,6 @@ CONFIG_DEFAULT_DEVICE_TREE="minnowmax"
 CONFIG_TARGET_MINNOWMAX=y
 CONFIG_INTERNAL_UART=y
 CONFIG_DEBUG_UART=y
-CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_SMP=y
 CONFIG_HAVE_VGA_BIOS=y
 CONFIG_GENERATE_PIRQ_TABLE=y
index c393d72a4953a3bf93d01211fbf05bbb9efe7ab4..52d8d6ec6bbcaaa78010f767550a93543199034d 100644 (file)
@@ -3,7 +3,6 @@ CONFIG_VENDOR_ADVANTECH=y
 CONFIG_TARGET_SOM_DB5800_SOM_6867=y
 CONFIG_DEFAULT_DEVICE_TREE="baytrail_som-db5800-som-6867"
 CONFIG_DEBUG_UART=y
-CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_SMP=y
 CONFIG_HAVE_VGA_BIOS=y
 CONFIG_GENERATE_PIRQ_TABLE=y
index dee551b96b9378d7002ec741606f6c51340cd9b5..bbc0fce7108547c60e56560c8d27f6c4e6327b36 100644 (file)
@@ -2,7 +2,6 @@ CONFIG_X86=y
 CONFIG_VENDOR_DFI=y
 CONFIG_DEFAULT_DEVICE_TREE="theadorable-x86-dfi-bt700"
 CONFIG_TARGET_DFI_BT700=y
-CONFIG_ENABLE_MRC_CACHE=y
 CONFIG_SMP=y
 CONFIG_HAVE_VGA_BIOS=y
 CONFIG_VGA_BIOS_ADDR=0xfffa0000