sb/intel/{i82371eb,i82801dx}/fadt.c: Use macro for iapc_boot_arch

Change-Id: Ie5e44be06da8a84c9cff42e07af1a7387faad533
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/44522
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Elyes HAOUAS 2020-08-17 12:15:12 +02:00 committed by Patrick Georgi
parent e912e3ee56
commit 653eb15ccd
2 changed files with 3 additions and 2 deletions

View File

@ -50,7 +50,8 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
* 2 0: VGA is ok to probe
* 3 1: MSI are not supported
*/
fadt->iapc_boot_arch = 0xb;
fadt->iapc_boot_arch = ACPI_FADT_LEGACY_DEVICES | ACPI_FADT_8042 |
ACPI_FADT_MSI_NOT_SUPPORTED;
/*
* bit meaning
* 0 WBINVD

View File

@ -46,7 +46,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
fadt->day_alrm = 0xd;
fadt->mon_alrm = 0x00;
fadt->century = 0x00;
fadt->iapc_boot_arch = 0x03;
fadt->iapc_boot_arch = ACPI_FADT_LEGACY_DEVICES | ACPI_FADT_8042;
fadt->flags |= ACPI_FADT_WBINVD | ACPI_FADT_C1_SUPPORTED |
ACPI_FADT_C2_MP_SUPPORTED | ACPI_FADT_SLEEP_BUTTON |