]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Allow devices to write ACPI tables
authorSimon Glass <sjg@chromium.org>
Sun, 26 Apr 2020 15:19:48 +0000 (09:19 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 30 Apr 2020 09:16:12 +0000 (17:16 +0800)
Call the new core function to permit devices to write their own ACPI
tables. These tables will appear after all other tables.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
arch/x86/lib/acpi_table.c

index b73cc6433974d7702d6888e8fd8fe53fd5ee91c2..d8622da394a1c82bac3ca0532b7804c0efcac7bf 100644 (file)
@@ -590,6 +590,8 @@ ulong write_acpi_tables(ulong start_addr)
        acpi_inc_align(ctx, spcr->header.length);
        acpi_add_table(rsdp, spcr);
 
+       acpi_write_dev_tables(ctx);
+
        addr = map_to_sysmem(ctx->current);
        debug("current = %lx\n", addr);