summaryrefslogtreecommitdiff
path: root/src/arch/arm64/smbios.c
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-05-25 11:17:15 +0200
committerFelix Held <felix-coreboot@felixheld.de>2024-05-28 13:27:15 +0000
commitb72f5949ccefe060baf509a8ee2c6a7f0e197d91 (patch)
tree28b8e3813b449c39520bb00d036e64d748ebebf5 /src/arch/arm64/smbios.c
parent23e3ea889f62d0052ac8ec4815937344e60cb213 (diff)
tree: Add smbios_processor_type
Change-Id: I46f799ad255993ac42dab11b5c1d2608daa52b42 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82645 Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/arch/arm64/smbios.c')
-rw-r--r--src/arch/arm64/smbios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/arm64/smbios.c b/src/arch/arm64/smbios.c
index ede48e62ae..291659a4bc 100644
--- a/src/arch/arm64/smbios.c
+++ b/src/arch/arm64/smbios.c
@@ -68,7 +68,7 @@ int smbios_write_type4(unsigned long *current, int handle)
t->processor_version = smbios_processor_name(t->eos);
t->processor_family = 0xfe; /* Use processor_family2 field */
t->processor_family2 = 0x101; /* ARMv8 */
- t->processor_type = 3; /* System Processor */
+ t->processor_type = SMBIOS_PROCESSOR_TYPE_CENTRAL;
smbios_cpu_get_core_counts(&t->core_count2, &t->thread_count2);
t->core_count = MAX_CPUS_ENABLED(t->core_count2);