summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorKan Yan <kyan@google.com>2016-03-22 18:02:11 -0700
committerPatrick Georgi <pgeorgi@google.com>2016-05-10 21:48:27 +0200
commit9f1e0c5428d18625f7e2fc1bc695f08c94d87c21 (patch)
tree2cffa99e82b2e16c2da01f68e2ecc05c00941a47 /src/mainboard
parent10c37492076fdfcdb778bd1e5ddf327cf5f814f5 (diff)
google/gale: set the correct GPIOs for recovery and dev.
BUG=chrome-os-partner:49249 TEST=Recovery swich functions correctly. BRANCH=none Change-Id: I88bb973a82133d8bab6b79fd49c8052f64937473 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: c8d319f65ee75e3c01e63c44249c7c7871a77518 Original-Change-Id: I2f62f2549c519f52c12c351dcb881a088671934a Original-Signed-off-by: Kan Yan <kyan@google.com> Original-Reviewed-on: https://chromium-review.googlesource.com/334414 Original-Commit-Ready: David Hendricks <dhendrix@chromium.org> Original-Tested-by: David Hendricks <dhendrix@chromium.org> Original-Reviewed-by: David Hendricks <dhendrix@chromium.org> Reviewed-on: https://review.coreboot.org/14658 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/gale/chromeos.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/gale/chromeos.c b/src/mainboard/google/gale/chromeos.c
index a379280ca5..d01fbbe44f 100644
--- a/src/mainboard/google/gale/chromeos.c
+++ b/src/mainboard/google/gale/chromeos.c
@@ -25,11 +25,11 @@
#include <timer.h>
#include <vendorcode/google/chromeos/chromeos.h>
-#define DEV_SW 15
+#define DEV_SW 41
#define DEV_POL ACTIVE_LOW
-#define REC_SW 16
+#define REC_SW 7
#define REC_POL ACTIVE_LOW
-#define WP_SW 17
+#define WP_SW 6
#define WP_POL ACTIVE_LOW
static int read_gpio(gpio_t gpio_num)