coreboot-kgpe-d16/src/ec
Duncan Laurie 699c788837 chromeec: Add helper function to read EC switch state
Add a helper function to read the EC switch state on LPC based
ECs instead of having each board need to understand and use the
specific EC LPC IO method that is required.

BUG=chrome-os-partner:43515
BRANCH=none
TEST=build and boot on glados

Original-Change-Id: Id046c7ddf3a1689d4bf2241be5da31184c32c0e1
Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/293514
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>

Change-Id: Id11009e0711b13823e4f76dc9db9c9c20abf4809
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: http://review.coreboot.org/11280
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-08-27 14:18:38 +00:00
..
acpi Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
compal/ene932 Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
google/chromeec chromeec: Add helper function to read EC switch state 2015-08-27 14:18:38 +00:00
kontron/it8516e Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
lenovo ec/lenovo/h8: silence sound on boot 2015-07-07 02:40:50 +02:00
quanta Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
smsc/mec1308 Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00