diff options
Diffstat (limited to 'include/dm/acpi.h')
-rw-r--r-- | include/dm/acpi.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/dm/acpi.h b/include/dm/acpi.h index 815a887ae4..3adfe21767 100644 --- a/include/dm/acpi.h +++ b/include/dm/acpi.h @@ -263,6 +263,20 @@ int acpi_inject_dsdt(struct acpi_ctx *ctx); int acpi_setup_nhlt(struct acpi_ctx *ctx, struct nhlt *nhlt); /** + * acpi_add_other_item() - Add a new table to the list of ACPI tables + * + * This adds an entry of type ACPIT_TYPE_OTHER + * + * @ctx: ACPI context + * @writer: Writer entry that generated the data + * @type: Table type it refers to + * @start: The start of the data (the end is obtained from ctx->current) + * @return 0 if OK, -ENOSPC if too many items, -ENOMEM if out of memory + */ +int acpi_add_other_item(struct acpi_ctx *ctx, const struct acpi_writer *writer, + void *start); + +/** * acpi_dump_items() - Dump out the collected ACPI items * * This lists the ACPI DSDT and SSDT items generated by the various U-Boot |