diff options
author | Simon Glass <sjg@chromium.org> | 2021-12-01 09:02:52 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2022-01-25 11:44:36 -0700 |
commit | eacb6d0ba205cae472c46a974fb16fcd783680b1 (patch) | |
tree | 00afb259abc994ce05bcda9e90d51af538c147e7 /include | |
parent | a53d38f80a1b7833a7efad6412fbd0b17cc33a99 (diff) | |
download | u-boot-eacb6d0ba205cae472c46a974fb16fcd783680b1.tar.gz u-boot-eacb6d0ba205cae472c46a974fb16fcd783680b1.tar.bz2 u-boot-eacb6d0ba205cae472c46a974fb16fcd783680b1.zip |
x86: Move DSDT table to a writer function
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 <sjg@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/dm/acpi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dm/acpi.h b/include/dm/acpi.h index c4baeb6b8c..815a887ae4 100644 --- a/include/dm/acpi.h +++ b/include/dm/acpi.h @@ -53,6 +53,7 @@ enum acpi_dump_option { * @rsdt: Pointer to the Root System Description Table * @xsdt: Pointer to the Extended System Description Table * @facs: Pointer to the Firmware ACPI Control Structure + * @dsdt: Pointer to the Differentiated System Description Table * @nhlt: Intel Non-High-Definition-Audio Link Table (NHLT) pointer, used to * build up information that audio codecs need to provide in the NHLT ACPI * table @@ -67,6 +68,7 @@ struct acpi_ctx { struct acpi_rsdt *rsdt; struct acpi_xsdt *xsdt; struct acpi_facs *facs; + struct acpi_table_header *dsdt; struct nhlt *nhlt; char *len_stack[ACPIGEN_LENSTACK_SIZE]; int ltop; |