Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/69447 )
Change subject: cpu/intel/socket_*: Clean up Kconfig files ......................................................................
cpu/intel/socket_*: Clean up Kconfig files
Remove SSE when SSE is already selected by supported CPU. Move MAX_CPUS to mainbords.
Change-Id: If2265ac716e90720e7ccc550239737d40c2f7a0a Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M src/cpu/intel/socket_441/Kconfig M src/cpu/intel/socket_BGA956/Kconfig M src/cpu/intel/socket_FCBGA559/Kconfig M src/cpu/intel/socket_p/Kconfig M src/mainboard/foxconn/d41s/Kconfig M src/mainboard/gigabyte/ga-d510ud/Kconfig M src/mainboard/intel/d510mo/Kconfig M src/mainboard/lenovo/t400/Kconfig M src/mainboard/lenovo/x200/Kconfig M src/mainboard/roda/rk9/Kconfig 10 files changed, 45 insertions(+), 18 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/69447/1
diff --git a/src/cpu/intel/socket_441/Kconfig b/src/cpu/intel/socket_441/Kconfig index 5b6ae7f..2ff419b 100644 --- a/src/cpu/intel/socket_441/Kconfig +++ b/src/cpu/intel/socket_441/Kconfig @@ -7,7 +7,6 @@ def_bool y select CPU_INTEL_MODEL_106CX select MMX - select SSE select SETUP_XIP_CACHE
config DCACHE_RAM_BASE diff --git a/src/cpu/intel/socket_BGA956/Kconfig b/src/cpu/intel/socket_BGA956/Kconfig index 638653c..771bb44 100644 --- a/src/cpu/intel/socket_BGA956/Kconfig +++ b/src/cpu/intel/socket_BGA956/Kconfig @@ -1,11 +1,12 @@ config CPU_INTEL_SOCKET_BGA956 bool - select CPU_INTEL_MODEL_1067X - select MMX - select SSE
if CPU_INTEL_SOCKET_BGA956
+config SOCKET_SPECIFIC_OPTIONS + select CPU_INTEL_MODEL_1067X + select MMX + config DCACHE_RAM_BASE hex default 0xfefc0000 @@ -18,8 +19,4 @@ hex default 0x2000
-config MAX_CPUS - int - default 2 - endif diff --git a/src/cpu/intel/socket_FCBGA559/Kconfig b/src/cpu/intel/socket_FCBGA559/Kconfig index ed661b6..ad5dc12 100644 --- a/src/cpu/intel/socket_FCBGA559/Kconfig +++ b/src/cpu/intel/socket_FCBGA559/Kconfig @@ -26,8 +26,4 @@ The amount of anticipated stack usage in CAR by bootblock and other stages.
-config MAX_CPUS - int - default 4 - endif diff --git a/src/cpu/intel/socket_p/Kconfig b/src/cpu/intel/socket_p/Kconfig index 552ed70..3d5b48c 100644 --- a/src/cpu/intel/socket_p/Kconfig +++ b/src/cpu/intel/socket_p/Kconfig @@ -1,11 +1,13 @@ config CPU_INTEL_SOCKET_P bool + +if CPU_INTEL_SOCKET_P + +config SOCKET_SPECIFIC_OPTIONS select CPU_INTEL_MODEL_1067X select CPU_INTEL_MODEL_6FX select MMX
-if CPU_INTEL_SOCKET_P - config DCACHE_RAM_BASE hex default 0xfefc0000 @@ -18,8 +20,4 @@ hex default 0x2000
-config MAX_CPUS - int - default 4 - endif diff --git a/src/mainboard/foxconn/d41s/Kconfig b/src/mainboard/foxconn/d41s/Kconfig index 33d5e6d..21f15fa 100644 --- a/src/mainboard/foxconn/d41s/Kconfig +++ b/src/mainboard/foxconn/d41s/Kconfig @@ -26,4 +26,8 @@ config MAINBOARD_PART_NUMBER default "D41S"
+config MAX_CPUS + int + default 4 + endif # BOARD_FOXCONN_D41S diff --git a/src/mainboard/gigabyte/ga-d510ud/Kconfig b/src/mainboard/gigabyte/ga-d510ud/Kconfig index 4739f81..cb6a65e 100644 --- a/src/mainboard/gigabyte/ga-d510ud/Kconfig +++ b/src/mainboard/gigabyte/ga-d510ud/Kconfig @@ -25,4 +25,8 @@ config MAINBOARD_PART_NUMBER default "GA-D510UD"
+config MAX_CPUS + int + default 4 + endif # BOARD_GIGABYTE_GA_D510UD diff --git a/src/mainboard/intel/d510mo/Kconfig b/src/mainboard/intel/d510mo/Kconfig index 32ea8ce..e852bca 100644 --- a/src/mainboard/intel/d510mo/Kconfig +++ b/src/mainboard/intel/d510mo/Kconfig @@ -23,4 +23,8 @@ config MAINBOARD_PART_NUMBER default "D510MO"
+config MAX_CPUS + int + default 4 + endif # BOARD_INTEL_D510MO diff --git a/src/mainboard/lenovo/t400/Kconfig b/src/mainboard/lenovo/t400/Kconfig index f90ed53..8bdc03b 100644 --- a/src/mainboard/lenovo/t400/Kconfig +++ b/src/mainboard/lenovo/t400/Kconfig @@ -75,4 +75,8 @@ config PS2M_EISAID default "IBM3780"
+config MAX_CPUS + int + default 4 + endif # BOARD_LENOVO_T400 diff --git a/src/mainboard/lenovo/x200/Kconfig b/src/mainboard/lenovo/x200/Kconfig index 812ceee..637b918 100644 --- a/src/mainboard/lenovo/x200/Kconfig +++ b/src/mainboard/lenovo/x200/Kconfig @@ -68,4 +68,8 @@ config PS2M_EISAID default "IBM3780" if BOARD_LENOVO_X200
+config MAX_CPUS + int + default 2 + endif # BOARD_LENOVO_X200 || BOARD_LENOVO_X301 diff --git a/src/mainboard/roda/rk9/Kconfig b/src/mainboard/roda/rk9/Kconfig index 7ce5e5e..2f15d00 100644 --- a/src/mainboard/roda/rk9/Kconfig +++ b/src/mainboard/roda/rk9/Kconfig @@ -26,4 +26,8 @@ config CBFS_SIZE default ROM_SIZE
+config MAX_CPUS + int + default 2 + endif # BOARD_RODA_RK9