From e2af9b8481427e875f1fe2907dd433a2ef8171df Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 23 Feb 2019 10:05:32 +0100 Subject: ACPI: Enum only used ACPI tables enum contained redundant names and wasn't exhaustive anyway. Change-Id: I4d74ff61c555c5953932efbd7edccfd3157cb5be Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/31592 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- src/arch/x86/include/arch/acpi.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/arch') 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) */ -- cgit v1.2.3