x86: Allow devices to write to DSDT
authorSimon Glass <sjg@chromium.org>
Tue, 7 Jul 2020 19:12:09 +0000 (13:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit58a6ccd34e79acb7835699eab9c1ecb6cc8bbd47
treec9d457cc9acf57ef685f1cc8d1f4a50eabf0b4e2
parent01694589af589212d6f2a6241821896ef9e334d3
x86: Allow devices to write to DSDT

Call the new core function to inject ASL programmatically into the DSDT.
This is made up of fragments generated by devices that have the
inject_dsdt() method. The normal, compiled ASL file is added after 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>
arch/x86/lib/acpi_table.c