
10 Jun
2024
10 Jun
'24
5:03 p.m.
On Fri, 26 Apr 2024 at 07:38, Michal Simek michal.simek@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@amd.com
include/sysinfo.h | 9 +++++++++ lib/smbios.c | 34 ++++++++++++++++++++++++++-------- 2 files changed, 35 insertions(+), 8 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org