Move this table over to use a writer function, moving the code from the x86 implementation.
Add a pointer to the DSDT in struct acpi_ctx so we can reference it later. Disable this table for sandbox since we don't actually compile real ASL code. Signed-off-by: Simon Glass <s...@chromium.org> --- arch/x86/lib/acpi_table.c | 49 +++++----------------------------- include/dm/acpi.h | 2 ++ lib/acpi/Makefile | 6 +++++ lib/acpi/base.c | 2 ++ lib/acpi/dsdt.c | 55 +++++++++++++++++++++++++++++++++++++++ lib/acpi/facs.c | 2 ++ 6 files changed, 74 insertions(+), 42 deletions(-) create mode 100644 lib/acpi/dsdt.c Applied to u-boot-dm, thanks!