From 9f1e0c5428d18625f7e2fc1bc695f08c94d87c21 Mon Sep 17 00:00:00 2001 From: Kan Yan Date: Tue, 22 Mar 2016 18:02:11 -0700 Subject: [PATCH] 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 Original-Commit-Id: c8d319f65ee75e3c01e63c44249c7c7871a77518 Original-Change-Id: I2f62f2549c519f52c12c351dcb881a088671934a Original-Signed-off-by: Kan Yan Original-Reviewed-on: https://chromium-review.googlesource.com/334414 Original-Commit-Ready: David Hendricks Original-Tested-by: David Hendricks Original-Reviewed-by: David Hendricks Reviewed-on: https://review.coreboot.org/14658 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/google/gale/chromeos.c | 6 +++--- 1 file 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 #include -#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)