[PATCH 3/3] lib: smbios: Detect system properties via SYSINFO IDs
Simon Glass
sjg at chromium.org
Mon Jun 10 17:03:04 CEST 2024
On Fri, 26 Apr 2024 at 07:38, Michal Simek <michal.simek at amd.com> wrote:
>
> Code is pretty much supports only DT properties and completely ignore
> information coming from sysinfo driver.
> Code is calling smbios_add_prop() which calls with
> smbios_add_prop_si(SYSINFO_ID_NONE). But SYSINFO_ID_NONE can't
> differentiate different entries from sysinfo driver.
> That's why introduce separate SYSINFO macros which can be used in sysinfo
> driver and passed to smbios structure.
>
> Signed-off-by: Michal Simek <michal.simek at amd.com>
> ---
>
> include/sysinfo.h | 9 +++++++++
> lib/smbios.c | 34 ++++++++++++++++++++++++++--------
> 2 files changed, 35 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list