diff options
author | Kan Yan <kyan@google.com> | 2016-07-21 10:51:47 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-07-31 18:26:53 +0200 |
commit | 08492f70b79bbda54e6765949e7ee9aa98344b71 (patch) | |
tree | 32ab37aaecfabdc4eb42fb911eaee84ea4d1ea87 /src | |
parent | 5ae61d94e70971b67a84d4b3179eca616dd19089 (diff) | |
download | coreboot-08492f70b79bbda54e6765949e7ee9aa98344b71.tar.xz |
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>
Reviewed-on: https://review.coreboot.org/15949
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/gale/chromeos.c | 2 | ||||
-rw-r--r-- | 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 06b3d8537b..01f1e03d9b 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 e5ea8288ca..1b21273f36 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 */ |