summaryrefslogtreecommitdiff
path: root/arch/x86/dts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-05 16:32:16 +0300
committerBin Meng <bmeng.cn@gmail.com>2020-11-06 05:18:20 +0300
commit8f1f374f63076cdbb8f7106bd80fcae50ba62394 (patch)
tree01d3dd656152275c108e39a8674776b20da22d9e /arch/x86/dts
parentfa9e1bcfc44e0982ece00d8c335b8748be907b07 (diff)
downloadu-boot-8f1f374f63076cdbb8f7106bd80fcae50ba62394.tar.xz
x86: galileo: Use devicetree for SMBIOS settings
Add settings and enable the default sysinfo driver so that these can come from the device tree. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/x86/dts')
-rw-r--r--arch/x86/dts/galileo.dts28
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/x86/dts/galileo.dts b/arch/x86/dts/galileo.dts
index 5de4568679..501047124e 100644
--- a/arch/x86/dts/galileo.dts
+++ b/arch/x86/dts/galileo.dts
@@ -164,4 +164,32 @@
};
};
+ smbios {
+ compatible = "u-boot,sysinfo-smbios";
+
+ /*
+ * Override the default product name U-Boot reports in the
+ * SMBIOS table, to be compatible with the Intel provided UEFI
+ * BIOS, as Linux kernel drivers
+ * (drivers/mfd/intel_quark_i2c_gpio.c and
+ * drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c) make use of
+ * it to do different board level configuration.
+ *
+ * This can be "Galileo" for GEN1 Galileo board.
+ */
+ smbios {
+ system {
+ product = "GalileoGen2";
+ };
+
+ baseboard {
+ product = "GalileoGen2";
+ };
+
+ chassis {
+ product = "GalileoGen2";
+ };
+ };
+ };
+
};