[PATCH 16/40] x86: Move base tables to a writer function
Simon Glass
sjg at chromium.org
Sun Jan 23 22:53:46 CET 2022
Use the new ACPI writer to write the base tables at the start of the area,
moving this code from the x86 implementation.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
arch/x86/lib/acpi_table.c | 2 -
include/acpi/acpi_table.h | 10 -----
include/dm/acpi.h | 23 +++++++++-
lib/acpi/Makefile | 5 +++
lib/acpi/acpi_table.c | 75 -------------------------------
lib/acpi/acpi_writer.c | 5 ++-
lib/acpi/base.c | 92 +++++++++++++++++++++++++++++++++++++++
test/dm/acpi.c | 17 +++++---
8 files changed, 133 insertions(+), 96 deletions(-)
create mode 100644 lib/acpi/base.c
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list