coreboot-kgpe-d16/src/southbridge/intel
Duncan Laurie d7cb8d074f lynxpoint: Change SerialIO device enable reporting to ACPI
In order to report whether coreboot enabled a SerialIO device
in ACPI mode we had been relying on reading NVS in the _STA
method for the SerialIO device.

The ACPI _STA method has restrictions on what it can access
and is unable to access OperationRegions outside its scope
which means it should not be trying to read NVS.

This change adds a new SSDT to the ACPI tables and fills it
with constants that indicate whether or not a device is enabled
in ACPI mode.

The ACPI code is changed to read these variables from the
SSDT and use that instead of trying to query a variable in NVS.

Attempt to use lpt-clk driver to probe the
device clocks for SerialIO devices and see that the kernel
does not complain about accessing the GNVS region.

Change-Id: I8538bee4390daed4ecca679496ab0cb313f174ce
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/51369
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/4170
Tested-by: build bot (Jenkins)
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
2013-11-25 23:28:27 +01:00
..
bd82x6x smi: Update mainboard_smi_gpi() to have 32bit argument 2013-11-24 07:40:22 +01:00
common usbdebug: Fix boards without EARLY_CBMEM_INIT 2013-10-22 21:35:05 +02:00
esb6300 Get rid of drivers class 2012-11-27 22:00:49 +01:00
i3100 GPLv2 notice: Unify all files to just use one space in »MA 02110-1301« 2013-03-01 10:16:08 +01:00
i82371eb intel/i82371: Remove HAVE_ACPI_RESUME 2013-10-15 13:14:29 +02:00
i82801ax Fix i82801a/b/c/d IOAPIC 2013-06-12 05:19:39 +02:00
i82801bx Fix i82801a/b/c/d IOAPIC 2013-06-12 05:19:39 +02:00
i82801cx Fix i82801a/b/c/d IOAPIC 2013-06-12 05:19:39 +02:00
i82801dx Makefile: Fix adding intel/common 2013-07-30 22:09:21 +02:00
i82801ex Makefile: Fix adding intel/common 2013-07-30 22:09:21 +02:00
i82801gx timestamps intel: Move timestamp scratchpad to chipset 2013-09-21 06:20:02 +02:00
i82801ix southbridge/intel/i82801ix/lpc.c: Remove unused variable dummy 2013-10-30 16:18:04 +01:00
i82870 Get rid of drivers class 2012-11-27 22:00:49 +01:00
ibexpeak Support for Ibexpeak southbridge 2013-11-25 19:32:36 +01:00
lynxpoint lynxpoint: Change SerialIO device enable reporting to ACPI 2013-11-25 23:28:27 +01:00
pxhd Get rid of drivers class 2012-11-27 22:00:49 +01:00
sch Fix some wait_for_valid functions return value from 1 to -1. 2013-08-13 10:11:18 +02:00
Kconfig Support for Ibexpeak southbridge 2013-11-25 19:32:36 +01:00
Makefile.inc Support for Ibexpeak southbridge 2013-11-25 19:32:36 +01:00