aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-02-23 10:05:32 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-02-25 11:20:35 +0000
commite2af9b8481427e875f1fe2907dd433a2ef8171df (patch)
tree98bcc9fe0f07836d4edd56ee823d5565aa2c8ea0 /src
parentf0a9128424f2c610756b97ef77f8fcd49a98f563 (diff)
ACPI: Enum only used ACPI tables
enum contained redundant names and wasn't exhaustive anyway. Change-Id: I4d74ff61c555c5953932efbd7edccfd3157cb5be Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/31592 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src')
-rw-r--r--src/arch/x86/include/arch/acpi.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/arch/x86/include/arch/acpi.h b/src/arch/x86/include/arch/acpi.h
index a061a271e8..cc0f1a94f4 100644
--- a/src/arch/x86/include/arch/acpi.h
+++ b/src/arch/x86/include/arch/acpi.h
@@ -77,16 +77,12 @@ enum coreboot_acpi_ids {
COREBOOT_ACPI_ID_MAX = 0xFFFF, /* BOOTFFFF */
};
-/* Table 5-30 DESCRIPTION_HEADER Signatures for tables defined by ACPI 6.2a
- * Additional tables mssing in 5-30: MADT, RSDP, VFCT, NHLT
- */
enum acpi_tables {
- APIC, BERT, BGRT, CPEP, DSDT, ECDT, EINJ, ERST, FACP, FADT, FACS,
- FPDT, GTDT, HEST, MSCT, MPST, NFIT, OEMX, PCCT, PMTT, PSDT, RASF,
- RSDT, SBST, SDEV, SLIT, SRAT, SSDT, XSDT, BOOT, CSRT, DBG2, DBGP,
- DMAR, DPPT, DRTM, ETDT, HPET, IBFT, IORT, IVRS, LPIT, MCFG, MCHI,
- MSDM, SDEI, SLIC, SPCR, SPMI, STAO, TCPA, TPM2, WAET, WDAT, WDRT,
- WPBT, WSMT, XENV, MADT, RSDP, VFCT, NHLT
+ /* Tables defined by ACPI and used by coreboot */
+ BERT, DBG2, DMAR, DSDT, FACS, FADT, HEST, HPET, IVRS, MADT, MCFG,
+ RSDP, RSDT, SLIT, SRAT, SSDT, TCPA, TPM2, XSDT, ECDT,
+ /* Additional proprietary tables used by coreboot */
+ VFCT, NHLT
};
/* RSDP (Root System Description Pointer) */