]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: Use devicetree for SMBIOS settings on MYiR MYS-6ULX
authorSimon Glass <sjg@chromium.org>
Thu, 5 Nov 2020 13:32:13 +0000 (06:32 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 6 Nov 2020 02:18:20 +0000 (10:18 +0800)
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>
arch/arm/dts/imx6ull-myir-mys-6ulx-eval-u-boot.dts [new file with mode: 0644]
configs/myir_mys_6ulx_defconfig

diff --git a/arch/arm/dts/imx6ull-myir-mys-6ulx-eval-u-boot.dts b/arch/arm/dts/imx6ull-myir-mys-6ulx-eval-u-boot.dts
new file mode 100644 (file)
index 0000000..378e4fa
--- /dev/null
@@ -0,0 +1,25 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2020 Linumiz
+ * Author: Parthiban Nallathambi <parthiban@linumiz.com>
+ */
+
+/ {
+       smbios {
+               compatible = "u-boot,sysinfo-smbios";
+
+               smbios {
+                       system {
+                               manufacturer = "MYiR";
+                       };
+
+                       baseboard {
+                               manufacturer = "MYiR";
+                       };
+
+                       chassis {
+                               manufacturer = "MYiR";
+                       };
+               };
+       };
+};
index 02b2060874aa640a65939c913f793f0dfeb3ef02..4ba817ab1e9c9d8d4ddc4f53a968170ee2372095 100644 (file)
@@ -67,4 +67,5 @@ CONFIG_MXC_UART=y
 CONFIG_USB=y
 CONFIG_DM_USB=y
 CONFIG_USB_GADGET=y
-CONFIG_SMBIOS_MANUFACTURER="MYiR"
+CONFIG_SYSINFO=y
+CONFIG_SYSINFO_SMBIOS=y