Browse Source

x86: Allow devices to write ACPI tables

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>
Simon Glass 4 years ago
parent
commit
5f5ab0d3bf
1 changed files with 2 additions and 0 deletions
  1. 2 0
      arch/x86/lib/acpi_table.c

+ 2 - 0
arch/x86/lib/acpi_table.c

@@ -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);