imx: Use devicetree for SMBIOS settings on MYiR MYS-6ULX

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>
This commit is contained in:
Simon Glass 2020-11-05 06:32:13 -07:00 committed by Bin Meng
parent 70190f82cb
commit c0697c1f4b
2 changed files with 27 additions and 1 deletions

View File

@ -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";
};
};
};
};

View File

@ -67,4 +67,5 @@ CONFIG_MXC_UART=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_DM_USB=y CONFIG_DM_USB=y
CONFIG_USB_GADGET=y CONFIG_USB_GADGET=y
CONFIG_SMBIOS_MANUFACTURER="MYiR" CONFIG_SYSINFO=y
CONFIG_SYSINFO_SMBIOS=y