coreboot/src/acpi
Angel Pons 79572e4f32 src: Make HAVE_CF9_RESET set the FADT reset register
All supported x86 chips select HAVE_CF9_RESET, and also use 0xcf9 as
reset register in FADT. How unsurprising. We might as well use that
information to automatically fill in the FADT accordingly. So, do it.

To avoid having x86-specific code under arch-agnostic `acpi/`, create a
new optional `arch_fill_fadt` function, and override it for x86 systems.

Tested on Asus P8Z77-V LX2 with Linux 5.7.6 and Windows 10 at the end of
the patch train, both operating systems are able to boot successfully.

Change-Id: Ib436b04aafd66c3ddfa205b870c1e95afb3e846d
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43389
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Frans Hendriks <fhendriks@eltan.com>
2020-07-20 13:23:13 +00:00
..
acpi.c src: Make HAVE_CF9_RESET set the FADT reset register 2020-07-20 13:23:13 +00:00
acpigen.c acpigen: Add acpigen_notify 2020-07-07 20:31:22 +00:00
acpigen_dptf.c dptf: Fix scope of TCPU device 2020-07-18 16:04:42 +00:00
acpigen_dsm.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
acpigen_ps2_keybd.c acpigen_ps2_keybd: Add keymap for Power key 2020-05-15 03:52:39 +00:00
acpigen_usb.c acpi: Add new file for implementing Type-C Connector class 2020-05-28 23:54:43 +00:00
chromeos-gnvs.c src: Remove unused 'include <types.h>' 2020-07-14 16:10:17 +00:00
device.c acpi: Avoid freeing a device twice 2020-07-01 04:52:47 +00:00
gnvs.c ACPI: Add framework for GNVS initialisation 2020-06-24 11:46:26 +00:00
Kconfig ACPI: Replace smm_setup_structures() 2020-06-24 11:49:15 +00:00
Makefile.inc dptf: Add support for generation of Active Policies 2020-07-07 17:20:13 +00:00
pld.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
sata.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
soundwire.c src/acpi/soundwire.c: Add missing <stddef.h> 2020-07-14 16:10:43 +00:00