summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2022-01-30 00:30:52 +0300
committerTom Rini <trini@konsulko.com>2022-02-11 19:29:23 +0300
commitaafb31fc953aac0af89e44a1e4a841803141768d (patch)
tree7f97b2698da5df4f0fc293834bc6d42a4a3db518 /include
parente9b0fd839bce97f5ef0380fd618cab28a7109aba (diff)
downloadu-boot-aafb31fc953aac0af89e44a1e4a841803141768d.tar.xz
acpi: Move acpi_write_tables() to a generic header
This function is used by both x86 and sandbox. Put it in a common header file. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/acpi/acpi_table.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/acpi/acpi_table.h b/include/acpi/acpi_table.h
index c98c874fe4..4030d25c66 100644
--- a/include/acpi/acpi_table.h
+++ b/include/acpi/acpi_table.h
@@ -913,6 +913,16 @@ void acpi_fill_header(struct acpi_table_header *header, char *signature);
*/
int acpi_fill_csrt(struct acpi_ctx *ctx);
+/**
+ * write_acpi_tables() - Write out the ACPI tables
+ *
+ * This writes all ACPI tables to the given address
+ *
+ * @start: Start address for the tables
+ * @return address of end of tables, where the next tables can be written
+ */
+ulong write_acpi_tables(ulong start);
+
#endif /* !__ACPI__*/
#include <asm/acpi_table.h>