[PATCH 0/2] smbios: fill wake-up type

Mark Kettenis mark.kettenis at xs4all.nl
Thu Feb 8 12:22:54 CET 2024


> From: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> Date: Thu,  8 Feb 2024 11:49:50 +0100
> 
> We should not use the reserved value 0x00 for the wake up type but
> use 0x06 (Power Switch).

Well, if I look at my collection of boards, many don't even have a
power switch.  So I think the only sensible default value is 0x02
(Unknown).

If there is a compelling use-case for providing a more accurate value,
that should probably be done by the various PMIC drivers.

> Correctly display wake-up type in smbios command.
> 
> Display SMBIOS type 1 field family in smbios command.
> 
> Heinrich Schuchardt (2):
>   cmd: smbios: type 1 wake-up time, family
>   smbios: fill wake-up type
> 
>  cmd/smbios.c     | 25 +++++++++++++++++++++++--
>  include/smbios.h |  2 ++
>  lib/smbios.c     |  1 +
>  3 files changed, 26 insertions(+), 2 deletions(-)
> 
> -- 
> 2.43.0
> 
> 


More information about the U-Boot mailing list