[coreboot-gerrit] Change in coreboot[master]: [lenovo t430] Set USB always on when calling SMI sleep

Peter Lemenkov (Code Review) gerrit at coreboot.org
Thu Oct 11 13:23:10 CEST 2018


Peter Lemenkov has uploaded this change for review. ( https://review.coreboot.org/29031


Change subject: [lenovo t430] Set USB always on when calling SMI sleep
......................................................................

[lenovo t430] Set USB always on when calling SMI sleep

Looks like we must do it in the same way as in l520, t420, t420s,
t430s, t520, t530, x201, x220, x230 models. No idea why t430 should be
handled differently.

Change-Id: Ic4851022267caca267b667b4e3c327838e0a0b66
Signed-off-by: Peter Lemenkov <lemenkov at gmail.com>
---
M src/mainboard/lenovo/t430/smihandler.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/31/29031/1

diff --git a/src/mainboard/lenovo/t430/smihandler.c b/src/mainboard/lenovo/t430/smihandler.c
index 120d9a0..90d5491 100644
--- a/src/mainboard/lenovo/t430/smihandler.c
+++ b/src/mainboard/lenovo/t430/smihandler.c
@@ -73,9 +73,9 @@
 
 void mainboard_smi_sleep(u8 slp_typ)
 {
-	if (slp_typ == 3) {
-		h8_usb_always_on();
+	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.  */
 		if (ec_wake & 0x14) {

-- 
To view, visit https://review.coreboot.org/29031
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic4851022267caca267b667b4e3c327838e0a0b66
Gerrit-Change-Number: 29031
Gerrit-PatchSet: 1
Gerrit-Owner: Peter Lemenkov <lemenkov at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181011/30df5ffc/attachment.html>


More information about the coreboot-gerrit mailing list