From 8ca2af1c0d3a529bc7a9e6bd8bae16f9b941d42d Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 8 Feb 2019 15:19:20 +0100 Subject: 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 Reviewed-on: https://review.coreboot.org/c/31289 Tested-by: build bot (Jenkins) Reviewed-by: HAOUAS Elyes --- src/soc/intel/fsp_broadwell_de/acpi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/soc/intel/fsp_broadwell_de') diff --git a/src/soc/intel/fsp_broadwell_de/acpi.c b/src/soc/intel/fsp_broadwell_de/acpi.c index 71aa0a3459..fa45ea775c 100644 --- a/src/soc/intel/fsp_broadwell_de/acpi.c +++ b/src/soc/intel/fsp_broadwell_de/acpi.c @@ -18,6 +18,7 @@ #include #include +#include #include #include #include @@ -222,7 +223,7 @@ void acpi_fill_in_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt) fadt->day_alrm = 0x0D; fadt->mon_alrm = 0x00; fadt->century = 0x00; - fadt->iapc_boot_arch = 0; + fadt->iapc_boot_arch = ACPI_FADT_LEGACY_FREE; fadt->flags = ACPI_FADT_WBINVD | ACPI_FADT_C1_SUPPORTED | ACPI_FADT_C2_MP_SUPPORTED | ACPI_FADT_SLEEP_BUTTON | -- cgit v1.2.3