[PATCH] cmd: smbios: Fix header for type 3 entries
Heinrich Schuchardt
xypron.glpk at gmx.de
Mon Jun 2 22:37:11 CEST 2025
Am 2. Juni 2025 22:10:08 MESZ schrieb Mark Kettenis <kettenis at openbsd.org>:
>Change from "Baseboard Information" to "Chassis information".
>
>Signed-off-by: Mark Kettenis <kettenis at openbsd.org>
Shouldn't we replace all terms in the output with what we find in the SMBIOS specification?
E.g. the type 1 output should refer to "firmware" and not to "BIOS".
Reviewed-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
>---
> cmd/smbios.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>diff --git a/cmd/smbios.c b/cmd/smbios.c
>index 562dd7959be..ed419f19028 100644
>--- a/cmd/smbios.c
>+++ b/cmd/smbios.c
>@@ -280,7 +280,7 @@ static void smbios_print_type3(struct smbios_type3 *table)
> int i;
> u8 *addr = (u8 *)table + offsetof(struct smbios_type3, sku_number);
>
>- printf("Baseboard Information\n");
>+ printf("Chassis Information\n");
> smbios_print_str("Manufacturer", table, table->manufacturer);
> printf("\tType: 0x%02x\n", table->chassis_type);
> smbios_print_str("Version", table, table->version);
More information about the U-Boot
mailing list