mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user