summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Walter <christian.walter@9elements.com>2022-09-08 13:17:50 +0200
committerDavid Hendricks <david.hendricks@gmail.com>2023-01-30 01:44:51 +0000
commit55129b3d9757e90eae2fdcbce76fd64f6448569c (patch)
tree2e99230587b706f8b30f4176f60430575ec1c50f
parent45032383e6481eda30b0f27e4dd27a2468815e6c (diff)
arch/x86/smbios.c: Add socket type for Intel SPR-SP
Intel SPR-SP processor has socket type as PROCESSOR_UPGRADE_SOCKET_LGA4677 which is different from the socket type of CPX-SP and SKX-SP. Change-Id: Id2279cc0c1fa3f007d7c081af6f78e5aa98d2f3d Signed-off-by: Christian Walter <christian.walter@9elements.com> Signed-off-by: David Hendricks <ddaveh@amazon.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/71947 Reviewed-by: Jonathan Zhang <jonzhang@fb.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/arch/x86/smbios.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c
index 6475f98755..0b1f8fd29d 100644
--- a/src/arch/x86/smbios.c
+++ b/src/arch/x86/smbios.c
@@ -412,6 +412,8 @@ static int get_socket_type(void)
return PROCESSOR_UPGRADE_SOCKET_LGA3647_1;
if (CONFIG(SOC_INTEL_COOPERLAKE_SP))
return PROCESSOR_UPGRADE_SOCKET_LGA4189;
+ if (CONFIG(SOC_INTEL_SAPPHIRERAPIDS_SP))
+ return PROCESSOR_UPGRADE_SOCKET_LGA4677;
return PROCESSOR_UPGRADE_UNKNOWN;
}