From a1dfce1ce055b853c8499185d05e4aa7ba8e0614 Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Fri, 29 May 2020 00:53:13 +0200 Subject: x4x boards: Factor out MAX_CPUS LGA775 CPUs can have at most 4 threads, and Eaglelake supports them. As this socket is also used by other chipsets, temporarily place this symbol into the northbridge scope until all chipsets are factored out. Change-Id: I6e01363d995e135815cc70779e0cd5baf806cf60 Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/41841 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/mainboard/asrock/g41c-gs/Kconfig | 4 ---- src/mainboard/asus/p5qc/Kconfig | 4 ---- src/mainboard/asus/p5ql-em/Kconfig | 4 ---- src/mainboard/asus/p5qpl-am/Kconfig | 4 ---- src/mainboard/foxconn/g41s-k/Kconfig | 4 ---- src/mainboard/gigabyte/ga-g41m-es2l/Kconfig | 4 ---- src/mainboard/intel/dg41wv/Kconfig | 4 ---- src/mainboard/intel/dg43gt/Kconfig | 4 ---- src/mainboard/lenovo/thinkcentre_a58/Kconfig | 4 ---- 9 files changed, 36 deletions(-) (limited to 'src/mainboard') diff --git a/src/mainboard/asrock/g41c-gs/Kconfig b/src/mainboard/asrock/g41c-gs/Kconfig index 7ffe62f4d3..900bfefe53 100644 --- a/src/mainboard/asrock/g41c-gs/Kconfig +++ b/src/mainboard/asrock/g41c-gs/Kconfig @@ -46,10 +46,6 @@ config DEVICETREE string default "variants/$(CONFIG_VARIANT_DIR)/devicetree.cb" -config MAX_CPUS - int - default 4 - # Override the default variant behavior, since the data.vbt is the same config INTEL_GMA_VBT_FILE default "src/mainboard/$(MAINBOARDDIR)/data.vbt" diff --git a/src/mainboard/asus/p5qc/Kconfig b/src/mainboard/asus/p5qc/Kconfig index b9feb45c80..41c11c0288 100644 --- a/src/mainboard/asus/p5qc/Kconfig +++ b/src/mainboard/asus/p5qc/Kconfig @@ -42,10 +42,6 @@ config GPIO_C default "variants/p5ql_pro/gpio.c" if BOARD_ASUS_P5QL_PRO default "gpio.c" -config MAX_CPUS - int - default 4 - # The MARVELL IDE controller delays SeaBIOS a lot and results in an unbootable # bogus disk. Compiling SeaBIOS without ATA support is a workaround. diff --git a/src/mainboard/asus/p5ql-em/Kconfig b/src/mainboard/asus/p5ql-em/Kconfig index 1aafb7ffb2..12dc0d9761 100644 --- a/src/mainboard/asus/p5ql-em/Kconfig +++ b/src/mainboard/asus/p5ql-em/Kconfig @@ -26,8 +26,4 @@ config MAINBOARD_PART_NUMBER string default "P5QL-EM" -config MAX_CPUS - int - default 4 - endif # BOARD_ASUS_P5QL_EM diff --git a/src/mainboard/asus/p5qpl-am/Kconfig b/src/mainboard/asus/p5qpl-am/Kconfig index 4c4381abe0..07ba8def29 100644 --- a/src/mainboard/asus/p5qpl-am/Kconfig +++ b/src/mainboard/asus/p5qpl-am/Kconfig @@ -37,10 +37,6 @@ config OVERRIDE_DEVICETREE string default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb" -config MAX_CPUS - int - default 4 - # Override the default variant behavior, since the data.vbt is the same config INTEL_GMA_VBT_FILE default "src/mainboard/$(MAINBOARDDIR)/data.vbt" diff --git a/src/mainboard/foxconn/g41s-k/Kconfig b/src/mainboard/foxconn/g41s-k/Kconfig index c8cd1839ce..8bdc958f3f 100644 --- a/src/mainboard/foxconn/g41s-k/Kconfig +++ b/src/mainboard/foxconn/g41s-k/Kconfig @@ -34,8 +34,4 @@ config OVERRIDE_DEVICETREE string default "variants/$(CONFIG_VARIANT_DIR)/overridetree.cb" -config MAX_CPUS - int - default 4 - endif # BOARD_FOXCONN_G41S_K diff --git a/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig b/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig index fa6783d1f7..8fbc8cc45b 100644 --- a/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig +++ b/src/mainboard/gigabyte/ga-g41m-es2l/Kconfig @@ -28,8 +28,4 @@ config MAINBOARD_PART_NUMBER string default "GA-G41M-ES2L" -config MAX_CPUS - int - default 4 - endif # BOARD_GIGABYTE_GA_G41M_ES2L diff --git a/src/mainboard/intel/dg41wv/Kconfig b/src/mainboard/intel/dg41wv/Kconfig index 9948638713..b90f263b3c 100644 --- a/src/mainboard/intel/dg41wv/Kconfig +++ b/src/mainboard/intel/dg41wv/Kconfig @@ -25,8 +25,4 @@ config MAINBOARD_PART_NUMBER string default "DG41WV" -config MAX_CPUS - int - default 4 - endif # BOARD_INTEL_DG41WV diff --git a/src/mainboard/intel/dg43gt/Kconfig b/src/mainboard/intel/dg43gt/Kconfig index d56a05569d..8bf4585931 100644 --- a/src/mainboard/intel/dg43gt/Kconfig +++ b/src/mainboard/intel/dg43gt/Kconfig @@ -38,8 +38,4 @@ config MAINBOARD_PART_NUMBER string default "DG43GT" -config MAX_CPUS - int - default 4 - endif # BOARD_INTEL_DG43GT diff --git a/src/mainboard/lenovo/thinkcentre_a58/Kconfig b/src/mainboard/lenovo/thinkcentre_a58/Kconfig index 2ccfab1bd3..419f012373 100644 --- a/src/mainboard/lenovo/thinkcentre_a58/Kconfig +++ b/src/mainboard/lenovo/thinkcentre_a58/Kconfig @@ -25,8 +25,4 @@ config MAINBOARD_PART_NUMBER string default "ThinkCentre A58" -config MAX_CPUS - int - default 4 - endif # BOARD_LENOVO_THINKCENTRE_A58 -- cgit v1.2.3