summaryrefslogtreecommitdiff
path: root/drivers/sysinfo/Kconfig
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-05 16:32:11 +0300
committerBin Meng <bmeng.cn@gmail.com>2020-11-06 05:18:20 +0300
commit44c74bdd5828c885b97a1518b9d85239a1020c6c (patch)
tree93c7b4344741ebde63b5e143dbc10ee75d4dba35 /drivers/sysinfo/Kconfig
parentf96965315489fcb7fc9df8fe4da0137150bb3826 (diff)
downloadu-boot-44c74bdd5828c885b97a1518b9d85239a1020c6c.tar.xz
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>
Diffstat (limited to 'drivers/sysinfo/Kconfig')
-rw-r--r--drivers/sysinfo/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/sysinfo/Kconfig b/drivers/sysinfo/Kconfig
index 39141500a0..85c1e81e41 100644
--- a/drivers/sysinfo/Kconfig
+++ b/drivers/sysinfo/Kconfig
@@ -22,4 +22,12 @@ config SYSINFO_SANDBOX
help
Support querying device information for the Sandbox boards.
+config SYSINFO_SMBIOS
+ bool "Provide a default sysinfo driver for SMBIOS information"
+ help
+ Some boards want to specify the manufacturer or product name but do
+ not need to have their own sysinfo driver. This includes a default
+ one which provides a way to specify this SMBIOS information in the
+ devicetree, without needing any board-specific functionality.
+
endif