intel/apollolake: Switch FADT to ACPI version 3.0

The current implementation of the FADT structure is only ACPI 3.0 compliant.
Setting the version to ACPI 5.0 results in a corrupt FADT. Linux seems
to be able to deal with it but Windows 10 hangs in a really early stage
without any notification to the user.

If ACPI 5.0 is mandatory, the FADT structure needs to be adjusted to
match the specification. Therefore the members sleep_ctl and sleep_stat
needs to be added to FADT structure.

Change-Id: I51c7a7a84d10283f5c2a8a2c57257d53bbdee7ed
Signed-off-by: Werner Zeh <werner.zeh@siemens.com>
Reviewed-on: https://review.coreboot.org/19146
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
Werner Zeh 2017-04-06 13:23:46 +02:00
parent 80656afc40
commit 27e6042bb7
1 changed files with 2 additions and 2 deletions

View File

@ -87,8 +87,8 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
{ {
const uint16_t pmbase = ACPI_PMIO_BASE; const uint16_t pmbase = ACPI_PMIO_BASE;
/* Use ACPI 5.0 revision. */ /* Use ACPI 3.0 revision. */
fadt->header.revision = ACPI_FADT_REV_ACPI_5_0; fadt->header.revision = ACPI_FADT_REV_ACPI_3_0;
fadt->sci_int = acpi_sci_irq(); fadt->sci_int = acpi_sci_irq();
fadt->smi_cmd = APM_CNT; fadt->smi_cmd = APM_CNT;