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>
This commit is contained in:
Kan Yan 2016-03-22 18:02:11 -07:00 committed by Patrick Georgi
parent 10c3749207
commit 9f1e0c5428
1 changed files with 3 additions and 3 deletions

View File

@ -25,11 +25,11 @@
#include <timer.h> #include <timer.h>
#include <vendorcode/google/chromeos/chromeos.h> #include <vendorcode/google/chromeos/chromeos.h>
#define DEV_SW 15 #define DEV_SW 41
#define DEV_POL ACTIVE_LOW #define DEV_POL ACTIVE_LOW
#define REC_SW 16 #define REC_SW 7
#define REC_POL ACTIVE_LOW #define REC_POL ACTIVE_LOW
#define WP_SW 17 #define WP_SW 6
#define WP_POL ACTIVE_LOW #define WP_POL ACTIVE_LOW
static int read_gpio(gpio_t gpio_num) static int read_gpio(gpio_t gpio_num)