diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2020-06-03 07:20:55 +0300 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2020-06-09 17:53:50 +0000 |
commit | d4acee887edb1282f2e15bccba24d11ec7f2a6b6 (patch) | |
tree | 1e96825cfc639690d8332cd3f1c0be4b46839685 /src/acpi | |
parent | 4a9569a1230935e20adfca0762be50dcae97487e (diff) |
ACPI: Move redundant FADT reserved entry
Change-Id: I35f66cdad6b8bedf4337aa8e5af7b0f1b53fe674
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/42033
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/acpi')
-rw-r--r-- | src/acpi/acpi.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/acpi/acpi.c b/src/acpi/acpi.c index fefa7bf7ec..a69cdb6219 100644 --- a/src/acpi/acpi.c +++ b/src/acpi/acpi.c @@ -1242,13 +1242,16 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt) header->asl_compiler_revision = asl_revision; fadt->firmware_ctrl = (unsigned long) facs; - fadt->dsdt = (unsigned long) dsdt; - fadt->x_firmware_ctl_l = (unsigned long)facs; fadt->x_firmware_ctl_h = 0; + + fadt->dsdt = (unsigned long) dsdt; fadt->x_dsdt_l = (unsigned long)dsdt; fadt->x_dsdt_h = 0; + /* should be 0 ACPI 3.0 */ + fadt->reserved = 0; + if (CONFIG(SYSTEM_TYPE_CONVERTIBLE) || CONFIG(SYSTEM_TYPE_LAPTOP)) fadt->preferred_pm_profile = PM_MOBILE; |