acpi: Record the items added to SSDT
authorSimon Glass <sjg@chromium.org>
Tue, 7 Jul 2020 19:12:05 +0000 (13:12 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
commit64ba6f43ef83e3a87abf5705d57ffc9109b5aa55
treec5cad3382145e83a753472504055cb8160580227
parent85f2def907a5dac68d552d5f6235115deb176324
acpi: Record the items added to SSDT

It is useful to be able to control the order of data written to the SSDT
so that we can compare the output against known-good kernel dumps.

Add code to record each item that is added along with the device that
added it. That allows us to reorder things later if needed.

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>
drivers/core/acpi.c