At present we call lots of functions to generate the required ACPI tables.
It would be better to standardise these functions and allow them to be
automatically collected and used when needed.

Add a linker list to handle this.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 include/dm/acpi.h      | 57 ++++++++++++++++++++++++++
 lib/acpi/acpi_writer.c | 91 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 148 insertions(+)
 create mode 100644 lib/acpi/acpi_writer.c

Applied to u-boot-dm, thanks!

Reply via email to