coreboot-kgpe-d16/src/mainboard
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
..
adi cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
adlink
advansus mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
amd soc/amd/stoneyridge: Name IO061 in ASL appropriately 2018-12-05 14:06:32 +00:00
aopen mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
apple cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
asrock sb/intel/lynxpoint: Move HAVE_SMI_HANDLER to southbridge Kconfig 2018-12-03 13:14:26 +00:00
asus mb/asus/am1i-a: add missing GPIO IO ports 2018-12-03 13:20:51 +00:00
avalue mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
bap mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
biostar mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
cavium src: Get rid of duplicated includes 2018-11-16 09:50:03 +00:00
compulab cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
cubietech {mb/cubieboard,soc/intel/quark}: Remove define __SIMPLE_DEVICE__ 2018-11-29 12:20:16 +00:00
elmex mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
emulation mb/emulation/spike-riscv: Implement mtime_init 2018-12-05 13:36:26 +00:00
esd cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
facebook mb: Set coreboot as DSDT's manufacturer model ID 2018-11-23 11:00:40 +00:00
foxconn mb: Set coreboot as DSDT's manufacturer model ID 2018-11-23 11:00:40 +00:00
getac mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
gigabyte cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
gizmosphere mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
google mb/google/sarien: Enable ISH 2018-12-05 17:06:22 +00:00
hp cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
ibase mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
iei mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
intel sb/intel/lynxpoint: Move HAVE_SMI_HANDLER to southbridge Kconfig 2018-12-03 13:14:26 +00:00
jetway mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
kontron cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
lenovo lenovo/h8,thinkpads: Re-do USB Always On 2018-12-06 11:59:22 +00:00
lippert mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
msi mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
ocp mb: Set coreboot as DSDT's manufacturer model ID 2018-11-23 11:00:40 +00:00
opencellular mb/opencellular/elgon: Enable write protection 2018-12-04 07:11:56 +00:00
packardbell sb/intel/common: Create a common PCH finalise implementation 2018-12-03 13:14:06 +00:00
pcengines src/mb/pcengines/apu2/mainboard.c: Fix retrieving serial number 2018-12-03 13:03:32 +00:00
purism cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
roda cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
samsung cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
sapphire cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
scaleway cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
siemens cpu/intel/common: Use a common acpi/cpu.asl file 2018-11-30 22:02:35 +00:00
sifive mb/sifive/hifive-unleashed: Use if (IS_ENABLED(...)) 2018-12-03 13:19:38 +00:00
supermicro mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
ti mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
tyan mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
via mb/*/*/Kconfig: Remove useless comment 2018-11-28 13:53:51 +00:00
Kconfig