coreboot-kgpe-d16/src/southbridge/intel/ibexpeak
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
..
azalia.c src: Use pci_dev_ops_pci where applicable 2020-06-06 20:36:51 +00:00
bootblock.c sb/intel/ibexpeak: Use common early SPI code 2020-06-27 17:30:37 +00:00
chip.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
early_cir.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
early_pch.c src: Remove unused '#include <stdint.h>' 2020-05-13 08:48:17 +00:00
early_smbus.c device/smbus_host: Declare common early SMBus prototypes 2020-06-22 11:53:31 +00:00
early_thermal.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
early_usb.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
fadt.c src: Make HAVE_CF9_RESET set the FADT reset register 2020-07-20 13:23:13 +00:00
Kconfig ACPI: Remove Kconfig COMMON_FADT 2020-06-10 12:53:08 +00:00
lpc.c sb/intel/ibexpeak: Move acpi_fill_fadt to fadt.c 2020-07-14 22:32:50 +00:00
madt.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
Makefile.inc sb/intel/ibexpeak: Move acpi_fill_fadt to fadt.c 2020-07-14 22:32:50 +00:00
me.c src: Use pci_dev_ops_pci where applicable 2020-06-06 20:36:51 +00:00
me.h treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
nvs.h sb/intel: Add include guards on nvs.h 2020-06-30 09:20:02 +00:00
pch.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
pch.h device/smbus_host: Declare common early SMBus prototypes 2020-06-22 11:53:31 +00:00
sata.c src: Use pci_dev_ops_pci where applicable 2020-06-06 20:36:51 +00:00
smbus.c src: Use pci_dev_ops_pci where applicable 2020-06-06 20:36:51 +00:00
smihandler.c ACPI GNVS: Replace uses of smm_get_gnvs() 2020-07-01 05:14:24 +00:00
thermal.c src: Use pci_dev_ops_pci where applicable 2020-06-06 20:36:51 +00:00
usb_ehci.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00