]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: coral: Update smbios tables to latest definition
authorSimon Glass <sjg@chromium.org>
Mon, 9 Nov 2020 14:12:23 +0000 (07:12 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 10 Nov 2020 01:44:20 +0000 (09:44 +0800)
The accepted binding uses multiple nodes, one for each table type. Update
coral accordingly.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/dts/chromebook_coral.dts

index 43f4b33da1bb1e9f6a4e4638289eda4549e9f7fb..d66e128ae62d01bb6b5604a365ca3832d1a43cc2 100644 (file)
                write-protect-gpios = <&gpio_nw GPIO_75 GPIO_ACTIVE_HIGH>;
                phase-enforce-gpios = <&gpio_n GPIO_10 GPIO_ACTIVE_HIGH>;
                smbios {
-                       manufacturer = "Google";
-                       product = "Coral";
-                       version = "rev2";
-                       serial = "123456789";
-                       sku = "sku3";
-                       family = "Google_Coral";
+                       /* Type 1 table */
+                       system {
+                               manufacturer = "Google";
+                               product = "Coral";
+                               version = "rev2";
+                               serial = "123456789";
+                               sku = "sku3";
+                               family = "Google_Coral";
+                       };
+
+                       /* Type 2 table */
+                       baseboard {
+                               manufacturer = "Google";
+                               product = "Coral";
+                               asset-tag = "ABC123";
+                       };
+
+                       /* Type 3 table */
+                       chassis {
+                               manufacturer = "Google";
+                       };
                };
        };