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>
This commit is contained in:
Kan Yan 2016-07-21 10:51:47 -07:00 committed by Martin Roth
parent 5ae61d94e7
commit 08492f70b7
2 changed files with 6 additions and 3 deletions

View File

@ -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;

View File

@ -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 */