]> git.dujemihanovic.xyz Git - u-boot.git/commit
acpi: Don't reset the tables with every new generation
authorSimon Glass <sjg@chromium.org>
Wed, 4 Nov 2020 16:57:33 +0000 (09:57 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 6 Nov 2020 01:51:31 +0000 (09:51 +0800)
commit18434aec1b69d8490cb23ef35b2f39cf1784d1d0
tree097c9ba2c28a6b825ecccff390eafd00ffc40795
parent01e3c9d2ecbb532ab98da46ceebe8507b6bceec8
acpi: Don't reset the tables with every new generation

At present if SSDT and DSDT code is created, only the latter is retained
for examination by the 'acpi items' command. Fix this by only resetting
the list when explicitly requested.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/acpi_table.c
drivers/core/acpi.c
include/dm/acpi.h
test/dm/acpi.c