Lean Sheng Tan has submitted this change. ( https://review.coreboot.org/c/coreboot/+/83330?usp=email )
(
1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: arch/x86: Decouple socket type from SoC type ......................................................................
arch/x86: Decouple socket type from SoC type
Change-Id: I2e15f26436626fbde7a93b47bea9f2601a302ffe Signed-off-by: Jincheng Li jincheng.li@intel.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/83330 Reviewed-by: Jérémy Compostella jeremy.compostella@intel.com Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Arthur Heymans arthur@aheymans.xyz --- M src/arch/x86/smbios.c 1 file changed, 7 insertions(+), 7 deletions(-)
Approvals: Arthur Heymans: Looks good to me, approved Jérémy Compostella: Looks good to me, but someone else must approve build bot (Jenkins): Verified
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c index 4fa8612..97d5f24 100644 --- a/src/arch/x86/smbios.c +++ b/src/arch/x86/smbios.c @@ -52,16 +52,16 @@ return PROCESSOR_UPGRADE_SOCKET_MPGA604; if (CONFIG(CPU_INTEL_SOCKET_LGA775)) return PROCESSOR_UPGRADE_SOCKET_LGA775; - if (CONFIG(SOC_INTEL_ALDERLAKE)) + if (CONFIG(CPU_INTEL_SOCKET_LGA1700)) return PROCESSOR_UPGRADE_SOCKET_LGA1700; - if (CONFIG(SOC_INTEL_METEORLAKE)) - return PROCESSOR_UPGRADE_OTHER; - if (CONFIG(SOC_INTEL_SKYLAKE_SP)) - return PROCESSOR_UPGRADE_SOCKET_LGA3647_1; - if (CONFIG(SOC_INTEL_COOPERLAKE_SP)) + if (CONFIG(CPU_INTEL_SOCKET_LGA4189)) return PROCESSOR_UPGRADE_SOCKET_LGA4189; - if (CONFIG(SOC_INTEL_SAPPHIRERAPIDS_SP)) + if (CONFIG(CPU_INTEL_SOCKET_LGA4677)) return PROCESSOR_UPGRADE_SOCKET_LGA4677; + if (CONFIG(CPU_INTEL_SOCKET_LGA3647_1)) + return PROCESSOR_UPGRADE_SOCKET_LGA3647_1; + if (CONFIG(CPU_INTEL_SOCKET_OTHER)) + return PROCESSOR_UPGRADE_OTHER;
return PROCESSOR_UPGRADE_UNKNOWN; }