coreboot-kgpe-d16/src
Duncan Laurie 0bf1dea8d8 lynxpoint: Fix an issue clearing port change status bits
The coreboot and ACPI code that clears USB3 PORTSC change status
bits was not properly preserving the state of the PED (port enabled
or disabled) status bit, and it could write 0 back to this field
which would disable the port.

Additionally add back the code that resets disconnected USB3 ports
on the way into suspend (as stated in the BWG) but take care to
clear the PME status bit so we don't immediately wake.

suspend/resume with USB3 devices

1) suspend with no devices, plug in while suspended, then resume
and verify that the devices are detected
2) suspend with USB3 devices inserted, then suspend and resume
and verify that the devices are detected
3) suspend with USB3 devices inserted, then remove the devices
while suspended, resume and ensure they can be detected again
when inserted after resume

Change-Id: Ic7e8d375dfe645cf0dc1f041c3a3d09d0ead1a51
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/65733
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Commit-Queue: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/4473
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
2013-12-21 23:54:59 +01:00
..
arch exynos5250: Implement support to boot with USB A-A firmware upload 2013-12-21 22:46:15 +01:00
console snprintf: lockless operation 2013-12-07 19:27:53 +01:00
cpu pit: disable LCD FETs before doing any graphics init 2013-12-21 22:47:01 +01:00
device Add Kconfig options to override Subsystem Vendor and Device ID 2013-12-21 12:02:40 +01:00
drivers max77802: update header 2013-12-21 13:29:42 +01:00
ec chromeec: Add event methods for EC requested throttle 2013-12-21 12:02:14 +01:00
include lynxpoint: Route all USB ports to XHCI in finalize step 2013-12-21 23:54:46 +01:00
lib Pit: graphics 2013-12-21 22:45:06 +01:00
mainboard exynos5420: Configure the UART pins unconditionally 2013-12-21 22:46:20 +01:00
northbridge haswell: add option to change DqPinsInterleaved 2013-12-21 12:02:56 +01:00
southbridge lynxpoint: Fix an issue clearing port change status bits 2013-12-21 23:54:59 +01:00
superio Correct file permissions. 2013-12-07 00:39:09 +01:00
vendorcode chromeos: Check for recovery reason code in shared data 2013-12-21 07:28:37 +01:00
Kconfig Add GRUB2 payload to build system 2013-11-19 01:07:25 +01:00