From: Matthias Brugger <[email protected]>

At present SMBIOS tables are emtpy, which breaks some use-cases that
rely on that. Add some minimal information to fullfill this.

Signed-off-by: Matthias Brugger <[email protected]>
---

 arch/arm/dts/bcm283x-u-boot.dtsi | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/arch/arm/dts/bcm283x-u-boot.dtsi b/arch/arm/dts/bcm283x-u-boot.dtsi
index 68d03627f4..f5235cb083 100644
--- a/arch/arm/dts/bcm283x-u-boot.dtsi
+++ b/arch/arm/dts/bcm283x-u-boot.dtsi
@@ -6,6 +6,26 @@
  * (C) Copyright 2016 Fabian Vogt <[email protected]>
  */
 
+/ {
+       smbios {
+               compatible = "u-boot,sysinfo-smbios";
+               smbios {
+                       system {
+                               manufacturer = "raspberrypi";
+                               product = "rpi";
+                       };
+                       baseboard {
+                               manufacturer = "raspberrypi";
+                               product = "rpi";
+                       };
+                       chassis {
+                               manufacturer = "raspberrypi";
+                               product = "rpi";
+                       };
+               };
+       };
+};
+
 &uart0 {
        skip-init;
        u-boot,dm-pre-reloc;
-- 
2.30.2

Reply via email to