diff options
author | Tom Rini <trini@konsulko.com> | 2024-01-09 12:50:04 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-01-09 12:50:04 -0500 |
commit | 344667db6450de838bd83f0f57e177e6d4744d89 (patch) | |
tree | ddaf47cefe8467400e4b8eca348265996d61160f /lib/smbios.c | |
parent | 0727b10f6bf28b551b1127ea0fb1008abc130bf0 (diff) | |
parent | 8aec7031112eba0dbfc8f23f9be11c081ea5cc56 (diff) |
Merge tag 'smbios-2024-04-rc1' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request smbios-2024-04-rc1
* make table_compute_checksum() arguments const
* remove duplicate function verify_checksum()
* enable setting processor family > 0xff
* set correct SMBIOS processor family value for RISC-V
* avoid importing ofnode.h in smbios.h
* provide a UEFI tool to dump SMBIOS table
Diffstat (limited to 'lib/smbios.c')
-rw-r--r-- | lib/smbios.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/smbios.c b/lib/smbios.c index d9d52bd58d..41aa936c4c 100644 --- a/lib/smbios.c +++ b/lib/smbios.c @@ -467,7 +467,8 @@ static void smbios_write_type4_dm(struct smbios_type4 *t, } #endif - t->processor_family = processor_family; + t->processor_family = 0xfe; + t->processor_family2 = processor_family; t->processor_manufacturer = smbios_add_prop(ctx, NULL, vendor); t->processor_version = smbios_add_prop(ctx, NULL, name); } @@ -489,7 +490,6 @@ static int smbios_write_type4(ulong *current, int handle, t->l1_cache_handle = 0xffff; t->l2_cache_handle = 0xffff; t->l3_cache_handle = 0xffff; - t->processor_family2 = t->processor_family; len = t->length + smbios_string_table_len(ctx); *current += len; |