From d2f52ff05337717ae15725b035bd7b4393f3d379 Mon Sep 17 00:00:00 2001 From: Andy Pont Date: Tue, 8 Jun 2021 10:30:35 +0100 Subject: [PATCH] soc/intel/tigerlake: Move MAX_CPUS to Kconfig Most of the Kconfig files for Intel SOC devices define the MAX_CPUS value within src/soc/intel/*/Kconfig. Move the definition there for Tiger Lake and remove from the mainboard Kconfig files. Signed-off-by: Andy Pont Change-Id: If145b9eb5d99821f4ce513118e4417d05f821ef5 Reviewed-on: https://review.coreboot.org/c/coreboot/+/55307 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Furquan Shaikh --- src/mainboard/google/deltaur/Kconfig | 4 ---- src/mainboard/google/volteer/Kconfig | 4 ---- src/mainboard/intel/tglrvp/Kconfig | 4 ---- src/soc/intel/tigerlake/Kconfig | 4 ++++ 4 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/mainboard/google/deltaur/Kconfig b/src/mainboard/google/deltaur/Kconfig index acc403c254..c861aec5f2 100644 --- a/src/mainboard/google/deltaur/Kconfig +++ b/src/mainboard/google/deltaur/Kconfig @@ -69,10 +69,6 @@ config MAINBOARD_PART_NUMBER default "Deltan" if BOARD_GOOGLE_DELTAN default "Deltaur" if BOARD_GOOGLE_DELTAUR -config MAX_CPUS - int - default 8 - config TPM_TIS_ACPI_INTERRUPT int default 23 # GPE0_DW0_23 (GPP_C23) diff --git a/src/mainboard/google/volteer/Kconfig b/src/mainboard/google/volteer/Kconfig index 3112672119..74ff92d9f5 100644 --- a/src/mainboard/google/volteer/Kconfig +++ b/src/mainboard/google/volteer/Kconfig @@ -110,10 +110,6 @@ config MAINBOARD_PART_NUMBER default "Volet" if BOARD_GOOGLE_VOLET default "Chronicler" if BOARD_GOOGLE_CHRONICLER -config MAX_CPUS - int - default 8 - config PCIEXP_HOTPLUG default y diff --git a/src/mainboard/intel/tglrvp/Kconfig b/src/mainboard/intel/tglrvp/Kconfig index bbdaf792e6..4dc2d56aa2 100644 --- a/src/mainboard/intel/tglrvp/Kconfig +++ b/src/mainboard/intel/tglrvp/Kconfig @@ -56,10 +56,6 @@ config MAINBOARD_FAMILY string default "Intel_tglrvp" -config MAX_CPUS - int - default 8 - config PCIEXP_HOTPLUG default y diff --git a/src/soc/intel/tigerlake/Kconfig b/src/soc/intel/tigerlake/Kconfig index 95a0337136..4ec163b9c1 100644 --- a/src/soc/intel/tigerlake/Kconfig +++ b/src/soc/intel/tigerlake/Kconfig @@ -77,6 +77,10 @@ config CPU_SPECIFIC_OPTIONS select DISPLAY_FSP_VERSION_INFO select HECI_DISABLE_USING_SMM +config MAX_CPUS + int + default 8 + config DCACHE_RAM_BASE default 0xfef00000