diff options
author | Paul Menzel <pmenzel@molgen.mpg.de> | 2019-02-08 15:19:20 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-02-15 16:24:02 +0000 |
commit | 8ca2af1c0d3a529bc7a9e6bd8bae16f9b941d42d (patch) | |
tree | 799003cfe2006faac092292cccb66c166ebdd44c /src/mainboard/emulation | |
parent | 223ddc298a1a8e25a493987d84c629ed152821d1 (diff) | |
download | coreboot-8ca2af1c0d3a529bc7a9e6bd8bae16f9b941d42d.tar.xz |
src: Use macro `ACPI_FADT_LEGACY_FREE`
Replace all instances, where 0 is used by the macro/define
`ACPI_FADT_LEGACY_FREE`.
Change-Id: I226b334620e0cdafc7639c7a76ea3a523ae53a74
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-on: https://review.coreboot.org/c/31289
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/mainboard/emulation')
-rw-r--r-- | src/mainboard/emulation/qemu-q35/acpi_tables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/emulation/qemu-q35/acpi_tables.c b/src/mainboard/emulation/qemu-q35/acpi_tables.c index 99184ca203..6fdc77f94f 100644 --- a/src/mainboard/emulation/qemu-q35/acpi_tables.c +++ b/src/mainboard/emulation/qemu-q35/acpi_tables.c @@ -92,7 +92,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt) fadt->day_alrm = 0xd; fadt->mon_alrm = 0x00; fadt->century = 0x32; - fadt->iapc_boot_arch = 0x00; + fadt->iapc_boot_arch = ACPI_FADT_LEGACY_FREE; fadt->flags = ACPI_FADT_WBINVD | ACPI_FADT_C1_SUPPORTED | ACPI_FADT_SLEEP_BUTTON | ACPI_FADT_S4_RTC_WAKE | ACPI_FADT_DOCKING_SUPPORTED | ACPI_FADT_RESET_REGISTER | |