diff options
author | Peter Lemenkov <lemenkov@gmail.com> | 2018-10-11 13:17:15 +0200 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-10-29 11:26:36 +0000 |
commit | 9b83f760cdf887421fcee533a7a8ef310ebb6fae (patch) | |
tree | 0650d3557869da49d4e19d79dfe1ab9e770532ed | |
parent | 8950706169a32764f3c4dc536cae397b463c390f (diff) | |
download | coreboot-9b83f760cdf887421fcee533a7a8ef310ebb6fae.tar.xz |
mb/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@gmail.com>
Reviewed-on: https://review.coreboot.org/29031
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r-- | src/mainboard/lenovo/t430/smihandler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/t430/smihandler.c b/src/mainboard/lenovo/t430/smihandler.c index 286f07a3ae..910fc1a096 100644 --- a/src/mainboard/lenovo/t430/smihandler.c +++ b/src/mainboard/lenovo/t430/smihandler.c @@ -72,9 +72,9 @@ int mainboard_smi_apmc(u8 data) 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) { |