diff options
author | Simon Glass <sjg@chromium.org> | 2020-11-05 06:32:14 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-11-06 10:18:20 +0800 |
commit | a1d63bc13505c7f1257f01aac9e74c6fb7f0c72d (patch) | |
tree | a7e50daf38bec9083015c79e053de018c6ce75da /arch | |
parent | c0697c1f4b6ddbe4a708bda78852c5dda153f522 (diff) | |
download | u-boot-a1d63bc13505c7f1257f01aac9e74c6fb7f0c72d.zip u-boot-a1d63bc13505c7f1257f01aac9e74c6fb7f0c72d.tar.gz u-boot-a1d63bc13505c7f1257f01aac9e74c6fb7f0c72d.tar.bz2 |
odroid-c2: 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')
-rw-r--r-- | arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi b/arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi index 484b405..90087b0 100644 --- a/arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi +++ b/arch/arm/dts/meson-gxbb-odroidc2-u-boot.dtsi @@ -6,6 +6,29 @@ #include "meson-gx-u-boot.dtsi" +/ { + smbios { + compatible = "u-boot,sysinfo-smbios"; + + smbios { + system { + manufacturer = "Hardkernel Co., Ltd."; + product = "ODROID-C2"; + }; + + baseboard { + manufacturer = "Hardkernel Co., Ltd."; + product = "ODROID-C2"; + }; + + chassis { + manufacturer = "Hardkernel Co., Ltd."; + product = "ODROID-C2"; + }; + }; + }; +}; + &usb0 { status = "disabled"; }; |