commit | 56260850e8274d6088cbddca2e06a8735aa22995 | [log] [tgz] |
---|---|---|
author | Duncan Laurie <dlaurie@chromium.org> | Mon Aug 17 09:53:22 2015 -0700 |
committer | Aaron Durbin <adurbin@chromium.org> | Thu Aug 27 14:19:09 2015 +0000 |
tree | c881e4be41b91da4ec812c8161d1e038fea9d951 | |
parent | c3281917289bbc2cb39f62c46418053b57fa33e3 [diff] [blame] |
glados: Abstract board GPIO configuration in gpio.h Move all the various places that look at board specific GPIOs into the mainboard gpio.h so it can be easily ported to new boards. BUG=chrome-os-partner:40635 BRANCH=none TEST=build and boot on glados p2 Original-Change-Id: I3f1754012158dd5c7d5bbd6e07e40850f21af56d Original-Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/293942 Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Change-Id: I93c4dc1795c1107a3d96e686f03df3199f30de8a Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: http://review.coreboot.org/11282 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
diff --git a/src/mainboard/google/glados/smihandler.c b/src/mainboard/google/glados/smihandler.c index f9f4707..041d5dc 100644 --- a/src/mainboard/google/glados/smihandler.c +++ b/src/mainboard/google/glados/smihandler.c
@@ -28,6 +28,7 @@ #include <soc/pm.h> #include <soc/smm.h> #include "ec.h" +#include "gpio.h" int mainboard_io_trap_handler(int smif) {