ryu: add support for p4 boards

BUG=none
BRANCH=none
TEST=P4 board boots and selects correct dts file

Change-Id: Icdfdef9b82bd53413e45713f9ceef2e0c2be16a8
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 0674037b1f00845ffcd129cb54571f185b42af40
Original-Change-Id: If14e2586c4ef5b44af1754b3f06126b79473798b
Original-Signed-off-by: David Riley <davidriley@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/250634
Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: http://review.coreboot.org/9760
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
David Riley 2015-02-17 15:28:10 -08:00 committed by Patrick Georgi
parent 8920865332
commit 20557c28ce
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ enum {
BOARD_ID_PROTO_0 = BOARD_REV0, BOARD_ID_PROTO_0 = BOARD_REV0,
BOARD_ID_PROTO_1 = BOARD_REV1, BOARD_ID_PROTO_1 = BOARD_REV1,
BOARD_ID_PROTO_3 = BOARD_REV2, BOARD_ID_PROTO_3 = BOARD_REV2,
BOARD_ID_PROTO_4 = BOARD_REV3,
BOARD_ID_EVT = BOARD_REV3, BOARD_ID_EVT = BOARD_REV3,
BOARD_ID_DVT = BOARD_REV4, BOARD_ID_DVT = BOARD_REV4,
BOARD_ID_PVT = BOARD_REV5, BOARD_ID_PVT = BOARD_REV5,

View File

@ -151,6 +151,7 @@ static int enable_lcd_vdd(void)
break; break;
case BOARD_ID_PROTO_1: case BOARD_ID_PROTO_1:
case BOARD_ID_PROTO_3: case BOARD_ID_PROTO_3:
case BOARD_ID_PROTO_4:
gpio_set(EN_VDD_LCD, 1); gpio_set(EN_VDD_LCD, 1);
break; break;
default: /* unknown board */ default: /* unknown board */