Re: [PATCH v2 1/2] arm: dts: bcm283x: Add minimal smbios information

2021-09-15 Thread Matthias Brugger




On 12/04/2021 15:38, matthias@kernel.org wrote:

From: Matthias Brugger 

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

Signed-off-by: Matthias Brugger 



Both patches now queued in rpi-next.


---

Changes in v2:
- drop product from chassi
- fix typo in commit message

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

diff --git a/arch/arm/dts/bcm283x-u-boot.dtsi b/arch/arm/dts/bcm283x-u-boot.dtsi
index 68d03627f4..22c67c4218 100644
--- a/arch/arm/dts/bcm283x-u-boot.dtsi
+++ b/arch/arm/dts/bcm283x-u-boot.dtsi
@@ -6,6 +6,25 @@
   * (C) Copyright 2016 Fabian Vogt 
   */
  
+/ {

+   smbios {
+   compatible = "u-boot,sysinfo-smbios";
+   smbios {
+   system {
+   manufacturer = "raspberrypi";
+   product = "rpi";
+   };
+   baseboard {
+   manufacturer = "raspberrypi";
+   product = "rpi";
+   };
+   chassis {
+   manufacturer = "raspberrypi";
+   };
+   };
+   };
+};
+
   {
skip-init;
u-boot,dm-pre-reloc;





[PATCH v2 1/2] arm: dts: bcm283x: Add minimal smbios information

2021-04-12 Thread matthias . bgg
From: Matthias Brugger 

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

Signed-off-by: Matthias Brugger 

---

Changes in v2:
- drop product from chassi
- fix typo in commit message

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

diff --git a/arch/arm/dts/bcm283x-u-boot.dtsi b/arch/arm/dts/bcm283x-u-boot.dtsi
index 68d03627f4..22c67c4218 100644
--- a/arch/arm/dts/bcm283x-u-boot.dtsi
+++ b/arch/arm/dts/bcm283x-u-boot.dtsi
@@ -6,6 +6,25 @@
  * (C) Copyright 2016 Fabian Vogt 
  */
 
+/ {
+   smbios {
+   compatible = "u-boot,sysinfo-smbios";
+   smbios {
+   system {
+   manufacturer = "raspberrypi";
+   product = "rpi";
+   };
+   baseboard {
+   manufacturer = "raspberrypi";
+   product = "rpi";
+   };
+   chassis {
+   manufacturer = "raspberrypi";
+   };
+   };
+   };
+};
+
  {
skip-init;
u-boot,dm-pre-reloc;
-- 
2.30.2