From b72f5949ccefe060baf509a8ee2c6a7f0e197d91 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 25 May 2024 11:17:15 +0200 Subject: tree: Add smbios_processor_type Change-Id: I46f799ad255993ac42dab11b5c1d2608daa52b42 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/82645 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/arch/x86/smbios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/x86') diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c index a2038b6dea..0338b60d1b 100644 --- a/src/arch/x86/smbios.c +++ b/src/arch/x86/smbios.c @@ -126,7 +126,7 @@ int smbios_write_type4(unsigned long *current, int handle) t->processor_manufacturer = smbios_cpu_vendor(t->eos); t->processor_version = smbios_processor_name(t->eos); t->processor_family = smbios_processor_family(res); - t->processor_type = 3; /* System Processor */ + t->processor_type = SMBIOS_PROCESSOR_TYPE_CENTRAL; /* * If CPUID leaf 11 is available, calculate "core count" by dividing * SMT_ID (logical processors in a core) by Core_ID (number of cores). -- cgit v1.2.3