diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-07 13:12:06 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-07-17 14:32:24 +0800 |
commit | 0f7b111f70087f60e84f936fbe0c2a0a243a4fec (patch) | |
tree | 7f0e2a35c81f35ad1642971dcea95900437c695b /arch/sandbox | |
parent | 64ba6f43ef83e3a87abf5705d57ffc9109b5aa55 (diff) | |
download | u-boot-0f7b111f70087f60e84f936fbe0c2a0a243a4fec.tar.gz u-boot-0f7b111f70087f60e84f936fbe0c2a0a243a4fec.tar.xz u-boot-0f7b111f70087f60e84f936fbe0c2a0a243a4fec.zip |
acpi: Support ordering SSDT data by device
Add a /chosen property to control the order in which the data appears
in the SSDT. This allows matching up U-Boot's output from a dump of the
known-good data obtained from within Linux.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/dts/test.dts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index 5b41edd8d3..c79ea34932 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -254,7 +254,7 @@ compatible = "denx,u-boot-devres-test"; }; - acpi-test { + acpi_test1: acpi-test { compatible = "denx,u-boot-acpi-test"; acpi-ssdt-test-data = "ab"; child { @@ -262,7 +262,7 @@ }; }; - acpi-test2 { + acpi_test2: acpi-test2 { compatible = "denx,u-boot-acpi-test"; acpi-ssdt-test-data = "cd"; }; @@ -924,6 +924,7 @@ setting = "sunrise ohoka"; other-node = "/some-bus/c-test@5"; int-values = <0x1937 72993>; + u-boot,acpi-ssdt-order = <&acpi_test2 &acpi_test1>; chosen-test { compatible = "denx,u-boot-fdt-test"; reg = <9 1>; |