summaryrefslogtreecommitdiff
path: root/util/cbfstool/linux_trampoline.S
diff options
context:
space:
mode:
authorKane Chen <kane.chen@intel.com>2018-02-23 10:11:27 +0800
committerMartin Roth <martinroth@google.com>2018-02-28 17:37:57 +0000
commitc3892c8fa8defc7bc898c1a1ba8d733c759b944a (patch)
treeb10b849f28438b056efa9cadc8c21fb6716420ad /util/cbfstool/linux_trampoline.S
parente099b309644c5b48c2502a951596daf125983569 (diff)
skylake: Fix unwanted disablement of ACPI UPWE
In PORTSC, Port Enabled/Disabled(PED) is RW1CS. When there is a USB device attached on system, current UPWE method will set 1 to PED, this will cause port disabled as it's RW1CS. This change is inspired by xhci_port_state_to_neutral in linux driver. It will mask all RO and RWS bits and set WDE and WCE. BUG=b:70777816 TEST=System won't be awakend from s3 automatically when usb devices is attached. Also system can be awakend by hotplugging usb devices under S3. Change-Id: Ifd4c2d6640fea538e0ac71d7c5e73ab529e94f42 Signed-off-by: Kane Chen <kane.chen@intel.com> Reviewed-on: https://review.coreboot.org/23848 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'util/cbfstool/linux_trampoline.S')
0 files changed, 0 insertions, 0 deletions