From 7ffb329f278d6b027bb3b3660b69e87f1ddd69d8 Mon Sep 17 00:00:00 2001 From: Patrick Rudolph Date: Thu, 8 Jun 2017 11:26:26 +0200 Subject: mb/lenovo/*/cmos: Port USB Always On Port commit f1395d82: "ec/lenovo/h8: Add USB Always On" to other Thinkpad boards, as it seems to work fine on all generations. Change-Id: I6dcbfaae2a444d9a679ecb64a87dc2a59b8fd281 Signed-off-by: Patrick Rudolph Reviewed-on: https://review.coreboot.org/20106 Tested-by: build bot (Jenkins) Reviewed-by: Philipp Deppenwiese --- src/mainboard/lenovo/t530/smihandler.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mainboard/lenovo/t530/smihandler.c') diff --git a/src/mainboard/lenovo/t530/smihandler.c b/src/mainboard/lenovo/t530/smihandler.c index c7ca206059..1dfd87e7c5 100644 --- a/src/mainboard/lenovo/t530/smihandler.c +++ b/src/mainboard/lenovo/t530/smihandler.c @@ -107,6 +107,8 @@ int mainboard_smi_apmc(u8 data) void mainboard_smi_sleep(u8 slp_typ) { + h8_usb_always_on(); + if (slp_typ == 3) { u8 ec_wake = ec_read(0x32); /* If EC wake events are enabled, enable wake on EC WAKE GPE. */ -- cgit v1.2.3