Commit a1d63bc1 authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarBin Meng <bmeng.cn@gmail.com>
parent c0697c1f
...@@ -6,6 +6,29 @@ ...@@ -6,6 +6,29 @@
#include "meson-gx-u-boot.dtsi" #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 { &usb0 {
status = "disabled"; status = "disabled";
}; };
......
...@@ -8,7 +8,6 @@ CONFIG_DEBUG_UART_BASE=0xc81004c0 ...@@ -8,7 +8,6 @@ CONFIG_DEBUG_UART_BASE=0xc81004c0
CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEBUG_UART_CLOCK=24000000
CONFIG_IDENT_STRING=" odroid-c2" CONFIG_IDENT_STRING=" odroid-c2"
CONFIG_DEFAULT_DEVICE_TREE="meson-gxbb-odroidc2" CONFIG_DEFAULT_DEVICE_TREE="meson-gxbb-odroidc2"
CONFIG_SMBIOS_PRODUCT_NAME="ODROID-C2"
CONFIG_DEBUG_UART=y CONFIG_DEBUG_UART=y
CONFIG_OF_BOARD_SETUP=y CONFIG_OF_BOARD_SETUP=y
# CONFIG_DISPLAY_CPUINFO is not set # CONFIG_DISPLAY_CPUINFO is not set
...@@ -64,4 +63,5 @@ CONFIG_BMP_16BPP=y ...@@ -64,4 +63,5 @@ CONFIG_BMP_16BPP=y
CONFIG_BMP_24BPP=y CONFIG_BMP_24BPP=y
CONFIG_BMP_32BPP=y CONFIG_BMP_32BPP=y
CONFIG_OF_LIBFDT_OVERLAY=y CONFIG_OF_LIBFDT_OVERLAY=y
CONFIG_SMBIOS_MANUFACTURER="Hardkernel Co., Ltd." CONFIG_SYSINFO=y
CONFIG_SYSINFO_SMBIOS=y
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment