diff options
author | Jincheng Li <jincheng.li@intel.com> | 2024-06-27 17:27:13 +0800 |
---|---|---|
committer | Lean Sheng Tan <sheng.tan@9elements.com> | 2024-07-19 12:35:16 +0000 |
commit | eff64c675723c740381ebcbe904f513c5cb671c3 (patch) | |
tree | b76cc980de9811026276f413504bda78d827954b /src/arch | |
parent | 04340496c121894af0155311c223eed2d5e6597e (diff) |
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>
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/x86/smbios.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c index 4fa861249f..97d5f24256 100644 --- a/src/arch/x86/smbios.c +++ b/src/arch/x86/smbios.c @@ -52,16 +52,16 @@ static int get_socket_type(void) 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; } |