Skip to content

Commit

Permalink
arm64: mvebu: Use devicetree for SMBIOS settings on uDPU
Browse files Browse the repository at this point in the history
Add settings and enable the default sysinfo driver so that these can come
from the device tree.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
  • Loading branch information
sjg20 authored and lbmeng committed Nov 6, 2020
1 parent a1d63bc commit fa9e1bc
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
20 changes: 20 additions & 0 deletions arch/arm/dts/armada-3720-uDPU-u-boot.dtsi
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
// SPDX-License-Identifier: GPL-2.0+

/ {
smbios {
compatible = "u-boot,sysinfo-smbios";

smbios {
system {
product = "uDPU";
};

baseboard {
product = "uDPU";
};

chassis {
product = "uDPU";
};
};
};
};

&spi0 {
u-boot,dm-pre-reloc;

Expand Down
3 changes: 2 additions & 1 deletion configs/uDPU_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ CONFIG_DM_GPIO=y
CONFIG_DEBUG_UART_BASE=0xd0012000
CONFIG_DEBUG_UART_CLOCK=25804800
CONFIG_DEFAULT_DEVICE_TREE="armada-3720-uDPU"
CONFIG_SMBIOS_PRODUCT_NAME="uDPU"
CONFIG_DEBUG_UART=y
CONFIG_AHCI=y
CONFIG_DISTRO_DEFAULTS=y
Expand Down Expand Up @@ -97,3 +96,5 @@ CONFIG_USB_ETHER_RTL8152=y
CONFIG_USB_ETHER_SMSC95XX=y
CONFIG_LZO=y
CONFIG_SPL_LZO=y
CONFIG_SYSINFO=y
CONFIG_SYSINFO_SMBIOS=y

0 comments on commit fa9e1bc

Please sign in to comment.