diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2024-05-25 11:59:13 +0200 |
---|---|---|
committer | Elyes Haouas <ehaouas@noos.fr> | 2024-06-01 06:40:14 +0000 |
commit | f38c9407549b70bf813248c1958d3892361a7323 (patch) | |
tree | 676816d9ca40283eca56ea18bb4d7a2bf2f3f76e /src/arch/arm64/smbios.c | |
parent | 87a66002642eec1fdd1488fc334ef02e63327612 (diff) |
tree: Add some SMBIOS_PROCESSOR_FAMILY macros
Change-Id: Ibe551a4c83f416ba30326077aa165818cf79c1fd
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82648
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.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/arm64/smbios.c b/src/arch/arm64/smbios.c index a8d0523795..f0be956cd5 100644 --- a/src/arch/arm64/smbios.c +++ b/src/arch/arm64/smbios.c @@ -66,8 +66,8 @@ int smbios_write_type4(unsigned long *current, int handle) smbios_processor_id(t->processor_id); t->processor_manufacturer = smbios_processor_manufacturer(t->eos); t->processor_version = smbios_processor_name(t->eos); - t->processor_family = 0xfe; /* Use processor_family2 field */ - t->processor_family2 = 0x101; /* ARMv8 */ + t->processor_family = SMBIOS_PROCESSOR_FAMILY_FROM_FAMILY2; + t->processor_family2 = SMBIOS_PROCESSOR_FAMILY2_ARMV8; t->processor_type = SMBIOS_PROCESSOR_TYPE_CENTRAL; smbios_cpu_get_core_counts(&t->core_count2, &t->thread_count2); |