x86: Clean up ivybridge/chrome Kconfig options
authorBin Meng <bmeng.cn@gmail.com>
Thu, 26 Nov 2015 01:46:07 +0000 (17:46 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 9 Dec 2015 09:44:52 +0000 (17:44 +0800)
There are some options which are never used, and also some options
which are selected by others but have never been a Kconfg option.
Clean these up.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/ivybridge/Kconfig
board/google/chromebook_link/Kconfig
board/google/chromebox_panther/Kconfig
include/configs/x86-chromebook.h

index d20c0380e223d941beedbd0a0ce1147d739acdc1..09703822d9931457967c9fe4f9207d891cfecc79 100644 (file)
@@ -8,18 +8,9 @@
 config NORTHBRIDGE_INTEL_IVYBRIDGE
        bool
        select CACHE_MRC_BIN
-       select CPU_INTEL_MODEL_306AX
 
 if NORTHBRIDGE_INTEL_IVYBRIDGE
 
-config VGA_BIOS_ID
-       string
-       default "8086,0166"
-
-config EXTERNAL_MRC_BLOB
-       bool
-       default n
-
 config CACHE_MRC_SIZE_KB
        int
        default 512
@@ -50,24 +41,9 @@ config DCACHE_RAM_MRC_VAR_SIZE
          memory reference code. This should be set to 16KB (0x4000 hex)
          so that MRC has enough space to run.
 
-config MRC_FILE
-       string "Intel System Agent path and filename"
-       depends on HAVE_MRC
-       default "systemagent-ivybridge.bin"
-       help
-         The path and filename of the file to use as System Agent
-         binary.
-
 config CPU_SPECIFIC_OPTIONS
        def_bool y
        select SMM_TSEG
-       select ARCH_BOOTBLOCK_X86_32
-       select ARCH_ROMSTAGE_X86_32
-       select ARCH_RAMSTAGE_X86_32
-       select SSE2
-       select UDELAY_LAPIC
-       select CPU_MICROCODE_IN_CBFS
-       select TSC_SYNC_MFENCE
        select HAVE_INTEL_ME
        select X86_RAMTEST
 
@@ -99,12 +75,6 @@ config CPU_INTEL_SOCKET_RPGA989
 
 if CPU_INTEL_SOCKET_RPGA989
 
-config SOCKET_SPECIFIC_OPTIONS # dummy
-       def_bool y
-       select MMX
-       select SSE
-       select CACHE_AS_RAM
-
 config CACHE_MRC_BIN
        bool
        default n
index d3644a965506aa6f6f7da0c0b82758a08b1d22b5..3843517f249f7830c95685fb9e68640278fd513d 100644 (file)
@@ -20,7 +20,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
        select X86_RESET_VECTOR
        select CPU_INTEL_SOCKET_RPGA989
        select NORTHBRIDGE_INTEL_IVYBRIDGE
-       select SOUTHBRIDGE_INTEL_C216
        select HAVE_ACPI_RESUME
        select BOARD_ROMSIZE_KB_8192
 
index d56d90378c4edcd1afd104d5bef8b8a473935e46..88afff3443cb068f8dc63a600db9ee70340a4116 100644 (file)
@@ -21,7 +21,6 @@ config BOARD_SPECIFIC_OPTIONS # dummy
        select X86_RESET_VECTOR
        select CPU_INTEL_SOCKET_RPGA989
        select NORTHBRIDGE_INTEL_IVYBRIDGE
-       select SOUTHBRIDGE_INTEL_C216
        select HAVE_ACPI_RESUME
        select BOARD_ROMSIZE_KB_8192
 
index 9fb1a7a2596e9b0ec4cee2f0381dd7e3fafb4f38..c575dab92ae5e8197088bdcc4cb8c4d47c664d16 100644 (file)
@@ -14,7 +14,6 @@
 #define CONFIG_MISC_INIT_R
 
 #define CONFIG_X86_MRC_ADDR                    0xfffa0000
-#define CONFIG_CACHE_MRC_SIZE_KB               512
 
 #define CONFIG_SCSI_DEV_LIST   \
        {PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_NM10_AHCI}, \