]> git.dujemihanovic.xyz Git - u-boot.git/commit
lib: smbios: Detect system properties via SYSINFO IDs
authorMichal Simek <michal.simek@amd.com>
Fri, 26 Apr 2024 13:38:13 +0000 (15:38 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 20 Jun 2024 17:41:43 +0000 (11:41 -0600)
commita5a57562856e109654e793fc821a7fcb1a914d6e
tree3486d8234cd9d8c8fc06e3d80398d9ff7e424346
parent85df7f173cd2ec2acaf163e0136ef9e4e940917f
lib: smbios: Detect system properties via SYSINFO IDs

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@amd.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
include/sysinfo.h
lib/smbios.c