sysinfo: Provide a default driver to set SMBIOS values
authorSimon Glass <sjg@chromium.org>
Thu, 5 Nov 2020 13:32:11 +0000 (06:32 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 6 Nov 2020 02:18:20 +0000 (10:18 +0800)
commit44c74bdd5828c885b97a1518b9d85239a1020c6c
tree93c7b4344741ebde63b5e143dbc10ee75d4dba35
parentf96965315489fcb7fc9df8fe4da0137150bb3826
sysinfo: Provide a default driver to set SMBIOS values

Some boards want to specify the manufacturer or product name but do not
need to have their own sysinfo driver.

Add a default driver which provides a way to specify this SMBIOS
information in the devicetree, without needing any board-specific
functionality.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/sysinfo/Kconfig
drivers/sysinfo/Makefile
drivers/sysinfo/smbios.c [new file with mode: 0644]
lib/Kconfig