diff options
author | Simon Glass <sjg@chromium.org> | 2020-07-07 13:12:08 -0600 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2020-07-17 14:32:24 +0800 |
commit | 01694589af589212d6f2a6241821896ef9e334d3 (patch) | |
tree | 54085627056cd2bc0c8e89adcf7361af5bd80870 /arch/sandbox | |
parent | 351fef5c579b4cabbd2976e61d1f8a9ef7c06b53 (diff) | |
download | u-boot-01694589af589212d6f2a6241821896ef9e334d3.tar.gz u-boot-01694589af589212d6f2a6241821896ef9e334d3.tar.bz2 u-boot-01694589af589212d6f2a6241821896ef9e334d3.zip |
acpi: Add support for DSDT generation
Some devices need to inject extra code into the Differentiated System
Descriptor Table (DSDT). Add a method to handle this.
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>
[bmeng: correct one typo in inject_dsdt() comments]
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'arch/sandbox')
-rw-r--r-- | arch/sandbox/dts/test.dts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts index c79ea34932..12101aaf79 100644 --- a/arch/sandbox/dts/test.dts +++ b/arch/sandbox/dts/test.dts @@ -257,6 +257,7 @@ acpi_test1: acpi-test { compatible = "denx,u-boot-acpi-test"; acpi-ssdt-test-data = "ab"; + acpi-dsdt-test-data = "hi"; child { compatible = "denx,u-boot-acpi-test"; }; @@ -265,6 +266,7 @@ acpi_test2: acpi-test2 { compatible = "denx,u-boot-acpi-test"; acpi-ssdt-test-data = "cd"; + acpi-dsdt-test-data = "jk"; }; clocks { |