Move this table over to use a writer function, moving the code from the x86 implementation.
Signed-off-by: Simon Glass <s...@chromium.org> --- arch/x86/lib/acpi_table.c | 62 ++++++++------------------------------- lib/acpi/Makefile | 1 + lib/acpi/csrt.c | 50 +++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+), 49 deletions(-) create mode 100644 lib/acpi/csrt.c Applied to u-boot-dm, thanks!