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:
parent
86b24f1998
commit
4b131c945e
2 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue