x86: Move acpi_get_rsdp_addr() ACPI tables to the writer
authorSimon Glass <sjg@chromium.org>
Wed, 1 Dec 2021 16:03:03 +0000 (09:03 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Jan 2022 18:44:36 +0000 (11:44 -0700)
commit9d2adca8c3e8d195fa4be5acc8c6dfe14933e826
tree6cdf337c127e6ea25d0706ac2ec8b71ebdc76fbd
parenta7e53b93b1ca4de745ab5fbdd3db2bd7888adb0f
x86: Move acpi_get_rsdp_addr() ACPI tables to the writer

Move this over to use a writer file, moving the code from the x86
implementation.

There is no need to store a separate variable since we can simply access
the ACPI context.

With this, the original monolithic x86 function for writing ACPI tables
is gone.

Note that QEMU has its own implementation.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/lib/acpi_table.c
lib/acpi/acpi_writer.c