[PATCH 29/40] x86: Move acpi_get_rsdp_addr() ACPI tables to the writer

Simon Glass sjg at chromium.org
Sun Jan 23 22:53:30 CET 2022


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 at chromium.org>
---

 arch/x86/lib/acpi_table.c | 21 ---------------------
 lib/acpi/acpi_writer.c    |  8 ++++++++
 2 files changed, 8 insertions(+), 21 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list