aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-09 07:12:23 -0700
committerBin Meng <bmeng.cn@gmail.com>2020-11-10 09:44:20 +0800
commitca010674edb289b1f623e83b4529b6d9ae5e5c0d (patch)
treeffbb15770d82b9a6e61fe2a1f16a190f0aa5d311
parent6486eaa0243826e46ee629599146c205e57590e2 (diff)
downloadu-boot-ca010674edb289b1f623e83b4529b6d9ae5e5c0d.zip
u-boot-ca010674edb289b1f623e83b4529b6d9ae5e5c0d.tar.gz
u-boot-ca010674edb289b1f623e83b4529b6d9ae5e5c0d.tar.bz2
x86: coral: Update smbios tables to latest definition
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>
-rw-r--r--arch/x86/dts/chromebook_coral.dts27
1 files changed, 21 insertions, 6 deletions
diff --git a/arch/x86/dts/chromebook_coral.dts b/arch/x86/dts/chromebook_coral.dts
index 43f4b33..d66e128 100644
--- a/arch/x86/dts/chromebook_coral.dts
+++ b/arch/x86/dts/chromebook_coral.dts
@@ -55,12 +55,27 @@
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";
+ };
};
};