From d3dae3deb6d391b3bac76177e16fdf74a7260324 Mon Sep 17 00:00:00 2001 From: Ritul Guru Date: Mon, 4 Apr 2022 13:33:01 +0530 Subject: soc/amd/sabrina: Add support for Rembrandt SoC as base SoC This change adds new Rembrandt SoC support by defining it as base SoC of sabrina as sabrina is derived from Rembrandt SoC. All the needed changes for Rembrandt SoC will be applied under SOC_AMD_REMBRANDT config. Change-Id: I1c9392918cc2c6b511d467f99aceefc725750ce6 Signed-off-by: Ritul Guru Reviewed-on: https://review.coreboot.org/c/coreboot/+/63353 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/soc/amd/sabrina/Kconfig | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'src/soc/amd/sabrina/Kconfig') diff --git a/src/soc/amd/sabrina/Kconfig b/src/soc/amd/sabrina/Kconfig index e6a9875b3e..2e9022f24c 100644 --- a/src/soc/amd/sabrina/Kconfig +++ b/src/soc/amd/sabrina/Kconfig @@ -2,12 +2,23 @@ # TODO: Check if this is still correct +config SOC_AMD_REMBRANDT_BASE + bool + config SOC_AMD_SABRINA bool + select SOC_AMD_REMBRANDT_BASE help AMD Sabrina support -if SOC_AMD_SABRINA +config SOC_AMD_REMBRANDT + bool + select SOC_AMD_REMBRANDT_BASE + help + AMD Rembrandt support + + +if SOC_AMD_REMBRANDT_BASE config SOC_SPECIFIC_OPTIONS def_bool y @@ -88,7 +99,8 @@ config ARCH_ALL_STAGES_X86 config CHIPSET_DEVICETREE string - default "soc/amd/sabrina/chipset.cb" + default "soc/amd/sabrina/chipset_sabrina.cb" if SOC_AMD_SABRINA + default "soc/amd/sabrina/chipset_rembrandt.cb" config EARLY_RESERVED_DRAM_BASE hex @@ -231,7 +243,8 @@ config ECAM_MMCONF_BUS_NUMBER config MAX_CPUS int - default 8 + default 8 if SOC_AMD_SABRINA + default 16 help Maximum number of threads the platform can have. @@ -489,4 +502,4 @@ config RWB_REGION_ONLY endif # VBOOT_SLOTS_RW_AB && VBOOT_STARTS_BEFORE_BOOTBLOCK -endif # SOC_AMD_SABRINA +endif # SOC_AMD_REMBRANDT_BASE -- cgit v1.2.3