mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-15 17:34:43 +00:00
acpi: Add ACPITAB for PPTT and GTDT
Return the ACPI table revision in acpi_get_table_revision() for PPTT and GTDT. Match both to ACPI 6.2. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-by: Simon Glass <sjg@chromium.org> Cc: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4b882f63d4
commit
7f91bcac1e
2 changed files with 6 additions and 0 deletions
|
@ -841,12 +841,14 @@ enum acpi_tables {
|
|||
ACPITAB_ECDT,
|
||||
ACPITAB_FACS,
|
||||
ACPITAB_FADT,
|
||||
ACPITAB_GTDT,
|
||||
ACPITAB_HEST,
|
||||
ACPITAB_HPET,
|
||||
ACPITAB_IVRS,
|
||||
ACPITAB_MADT,
|
||||
ACPITAB_MCFG,
|
||||
ACPITAB_NHLT,
|
||||
ACPITAB_PPTT,
|
||||
ACPITAB_RSDP,
|
||||
ACPITAB_RSDT,
|
||||
ACPITAB_SLIT,
|
||||
|
|
|
@ -107,6 +107,10 @@ int acpi_get_table_revision(enum acpi_tables table)
|
|||
return 1;
|
||||
case ACPITAB_SPCR:
|
||||
return 2;
|
||||
case ACPITAB_PPTT: /* ACPI 6.2: 1 */
|
||||
return 1;
|
||||
case ACPITAB_GTDT: /* ACPI 6.2: 2, ACPI 6.3: 3 */
|
||||
return 2;
|
||||
default:
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue