diff options
Diffstat (limited to 'src/mainboard/lenovo/t420')
-rw-r--r-- | src/mainboard/lenovo/t420/cmos.default | 1 | ||||
-rw-r--r-- | src/mainboard/lenovo/t420/cmos.layout | 5 | ||||
-rw-r--r-- | src/mainboard/lenovo/t420/smihandler.c | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/src/mainboard/lenovo/t420/cmos.default b/src/mainboard/lenovo/t420/cmos.default index 0fc3e553f6..d1fbcf6b27 100644 --- a/src/mainboard/lenovo/t420/cmos.default +++ b/src/mainboard/lenovo/t420/cmos.default @@ -14,3 +14,4 @@ fn_ctrl_swap=Disable sticky_fn=Disable trackpoint=Enable hybrid_graphics_mode=Integrated Only +usb_always_on=Disable
\ No newline at end of file diff --git a/src/mainboard/lenovo/t420/cmos.layout b/src/mainboard/lenovo/t420/cmos.layout index 924b0f11ab..96cba62599 100644 --- a/src/mainboard/lenovo/t420/cmos.layout +++ b/src/mainboard/lenovo/t420/cmos.layout @@ -69,7 +69,7 @@ entries 418 1 e 1 sticky_fn 419 1 e 1 power_management_beeps 421 1 e 9 sata_mode -#422 2 r 1 unused +422 2 e 13 usb_always_on # coreboot config options: cpu #424 8 r 0 unused @@ -137,6 +137,9 @@ enumerations 11 6 224M 12 0 Integrated Only 12 1 Discrete Only +13 0 Disable +13 1 AC and battery +13 2 AC only # ----------------------------------------------------------------- checksums diff --git a/src/mainboard/lenovo/t420/smihandler.c b/src/mainboard/lenovo/t420/smihandler.c index eff0daffdc..825a20b7e9 100644 --- a/src/mainboard/lenovo/t420/smihandler.c +++ b/src/mainboard/lenovo/t420/smihandler.c @@ -71,6 +71,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. */ |