From 4812cf96c2d099c58e779a0859d3a2c47ae27804 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Sat, 30 May 2020 17:49:58 +0300 Subject: acpi,mb/*: Use motherboard_fill_fadt() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit By vendor choice override fadt->preferred_pm_profile here. Change-Id: I0453c0edc9aeb86cf4f5d912613b8fa8beb63ab4 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/41917 Reviewed-by: Wim Vervoorn Reviewed-by: Frans Hendriks Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- src/mainboard/facebook/fbg1701/acpi_tables.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mainboard/facebook/fbg1701/acpi_tables.c') diff --git a/src/mainboard/facebook/fbg1701/acpi_tables.c b/src/mainboard/facebook/fbg1701/acpi_tables.c index 539a74e8a8..8492704b74 100644 --- a/src/mainboard/facebook/fbg1701/acpi_tables.c +++ b/src/mainboard/facebook/fbg1701/acpi_tables.c @@ -37,3 +37,9 @@ unsigned long acpi_fill_madt(unsigned long current) return current; } + +void motherboard_fill_fadt(acpi_fadt_t *fadt) +{ + fadt->preferred_pm_profile = PM_MOBILE; + fadt->iapc_boot_arch &= ~ACPI_FADT_8042; +} -- cgit v1.2.3