coreboot-kgpe-d16/src/ec
Nathaniel Roach 4f4322dd68 lenovo/h8,thinkpads: Re-do USB Always On
Re-write the UAO handling code as it had stopped working (#171)
  (the flag was not getting read from the RTC properly in SMM)

Remove the SMM code as it's not needed (but EC flag won't be set
  upon entering S3 now)
Set the EC flags on boot the same way other flags are set
Document bitwise operators for clarity
Propagate changes to other Thinkpads
  (updated X201 to have 2 bits for the flag as it only had 1)

Per Nicola Corna's previous commits, 0x0d is set for "AC only"
  "AC only" does exhibit different behaviour - the USB port is
  turned on a few seconds after entering S3, rather than < 1 sec,
  regardless of AC status

Tested on X220

Change-Id: If812cd1ef8fb1a24d7fadbe834f574b40cbcd56a
Signed-off-by: Nathaniel Roach <nroach44@gmail.com>
Reviewed-on: https://review.coreboot.org/c/29565
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
2018-12-06 11:59:22 +00:00
..
acpi src/ec: Remove whitespace before tab 2018-06-04 09:15:51 +00:00
compal/ene932 ec/compal: pass ops to pnp_enable_devices instead of LDN-specific override 2018-07-26 18:18:28 +00:00
google ec/google/wilco: Turn camera power on 2018-12-04 22:49:40 +00:00
hp/kbc1126 ec/hp/kbc1126: change the default offset of the blobs 2017-12-25 14:44:23 +00:00
kontron/it8516e device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
lenovo lenovo/h8,thinkpads: Re-do USB Always On 2018-12-06 11:59:22 +00:00
purism/librem ec/purism: Fix CPU Turbo value (PPCM) set by the EC 2018-03-26 10:25:58 +00:00
quanta ec/quanta: pass ops to pnp_enable_devices instead of LDN-specific override 2018-07-26 18:18:54 +00:00
roda/it8518 src: Use tabs for indentation 2018-10-08 09:46:16 +00:00
smsc/mec1308 src: Use tabs for indentation 2018-10-08 09:46:16 +00:00
ec.h mainboards,ec: provide common declaration for mainboard_ec_init() 2016-09-26 23:53:12 +02:00