arch/x86: Add support for socketed CPUs

When SMBIOS_TYPE4_SOCKETED_CPU is selected advertise upgrade
support in SMBIOS Type4 table.

Change-Id: I877c72592277690cdfa9ac6805697494c0e87b4e
Signed-off-by: Maximilian Brune <maximilian.brune@9elements.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/91146
Reviewed-by: Patrick Rudolph <patrick.rudolph@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Patrick Rudolph 2025-11-20 12:13:05 +01:00 committed by Matt DeVillier
commit 4b131c945e
2 changed files with 9 additions and 0 deletions

View file

@ -1012,6 +1012,13 @@ config SMBIOS_PROVIDED_BY_MOBO
bool
default n
config SMBIOS_TYPE4_SOCKETED_CPU
bool
default n
help
If enabled the CPU can be replaced and Type 4 advertises upgrade
support.
if GENERATE_SMBIOS_TABLES
config BIOS_VENDOR

View file

@ -64,6 +64,8 @@ static int get_socket_type(void)
return PROCESSOR_UPGRADE_SOCKET_LGA3647_1;
if (CONFIG(CPU_INTEL_SOCKET_OTHER))
return PROCESSOR_UPGRADE_OTHER;
if (CONFIG(SMBIOS_TYPE4_SOCKETED_CPU))
return PROCESSOR_UPGRADE_OTHER;
return PROCESSOR_UPGRADE_UNKNOWN;
}