Martin Roth (martinroth@google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/15949
-gerrit
commit d38b3950167f384c1e914b53a6df9bf249470c2e Author: Kan Yan kyan@google.com Date: Thu Jul 21 10:51:47 2016 -0700
google/gale: Change board ID definition.
Change EVT3 board id to 5.
BUG=chrome-os-partner:55320 TEST=None. BRANCH=None
Change-Id: I020be47e1fdbf886c7c471d7fdcace1537875b6d Signed-off-by: Martin Roth martinroth@chromium.org Original-Commit-Id: 63bd6541055172765c31a9b1220a24d4e3604cdc Original-Change-Id: I21a8764ff95892430944778f4898d2f1d4c97fd7 Original-Signed-off-by: Kan Yan kyan@google.com Original-Reviewed-on: https://chromium-review.googlesource.com/362391 Original-Reviewed-by: David Hendricks dhendrix@chromium.org --- src/mainboard/google/gale/chromeos.c | 2 ++ src/soc/qualcomm/ipq40xx/include/soc/cdp.h | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/src/mainboard/google/gale/chromeos.c b/src/mainboard/google/gale/chromeos.c index 06b3d85..01f1e03 100644 --- a/src/mainboard/google/gale/chromeos.c +++ b/src/mainboard/google/gale/chromeos.c @@ -34,6 +34,7 @@ static int get_rec_sw_gpio_pin(void) { uint8_t board_rev = board_id(); switch (board_rev) { + case BOARD_ID_GALE_PROTO: case BOARD_ID_GALE_EVT: case BOARD_ID_GALE_EVT2: return 7; @@ -47,6 +48,7 @@ static int get_wp_status_gpio_pin(void) { uint8_t board_rev = board_id(); switch (board_rev) { + case BOARD_ID_GALE_PROTO: case BOARD_ID_GALE_EVT: case BOARD_ID_GALE_EVT2: return 6; diff --git a/src/soc/qualcomm/ipq40xx/include/soc/cdp.h b/src/soc/qualcomm/ipq40xx/include/soc/cdp.h index e5ea828..1b21273 100644 --- a/src/soc/qualcomm/ipq40xx/include/soc/cdp.h +++ b/src/soc/qualcomm/ipq40xx/include/soc/cdp.h @@ -134,9 +134,10 @@ typedef struct { #define IPQ_GMAC_NMACS 4
enum gale_board_id { - BOARD_ID_GALE_EVT = 0, - BOARD_ID_GALE_EVT2 = 1, - BOARD_ID_GALE_EVT3 = 2, + BOARD_ID_GALE_PROTO = 0, + BOARD_ID_GALE_EVT = 1, + BOARD_ID_GALE_EVT2 = 2, + BOARD_ID_GALE_EVT3 = 5, };
/* Board specific parameters */