diff options
author | Simon Glass | 2020-11-04 09:57:33 -0700 |
---|---|---|
committer | Bin Meng | 2020-11-06 09:51:31 +0800 |
commit | 18434aec1b69d8490cb23ef35b2f39cf1784d1d0 (patch) | |
tree | 097c9ba2c28a6b825ecccff390eafd00ffc40795 /arch/x86 | |
parent | 01e3c9d2ecbb532ab98da46ceebe8507b6bceec8 (diff) |
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>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/lib/acpi_table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/lib/acpi_table.c b/arch/x86/lib/acpi_table.c index 423df5cbf9b..66cff822dc2 100644 --- a/arch/x86/lib/acpi_table.c +++ b/arch/x86/lib/acpi_table.c @@ -531,6 +531,7 @@ ulong write_acpi_tables(ulong start_addr) debug("ACPI: Writing ACPI tables at %lx\n", start_addr); + acpi_reset_items(); acpi_setup_base_tables(ctx, start); debug("ACPI: * FACS\n"); |