summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorDavid Riley <davidriley@chromium.org>2015-02-17 15:28:10 -0800
committerPatrick Georgi <pgeorgi@google.com>2015-04-17 10:02:42 +0200
commit20557c28ceb0117e4a5ae57b043e5e3edd385162 (patch)
tree912e7c5329ac288814eaea74320ebdc59453e5eb /src/mainboard
parent89208653320c099e3c4489a43f792633d99cf4c1 (diff)
downloadcoreboot-20557c28ceb0117e4a5ae57b043e5e3edd385162.tar.xz
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/rush_ryu/gpio.h1
-rw-r--r--src/mainboard/google/rush_ryu/mainboard.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/google/rush_ryu/gpio.h b/src/mainboard/google/rush_ryu/gpio.h
index 8fa7c3d07d..4395214f29 100644
--- a/src/mainboard/google/rush_ryu/gpio.h
+++ b/src/mainboard/google/rush_ryu/gpio.h
@@ -38,6 +38,7 @@ enum {
BOARD_ID_PROTO_0 = BOARD_REV0,
BOARD_ID_PROTO_1 = BOARD_REV1,
BOARD_ID_PROTO_3 = BOARD_REV2,
+ BOARD_ID_PROTO_4 = BOARD_REV3,
BOARD_ID_EVT = BOARD_REV3,
BOARD_ID_DVT = BOARD_REV4,
BOARD_ID_PVT = BOARD_REV5,
diff --git a/src/mainboard/google/rush_ryu/mainboard.c b/src/mainboard/google/rush_ryu/mainboard.c
index 2b234815b5..f86d41ccfd 100644
--- a/src/mainboard/google/rush_ryu/mainboard.c
+++ b/src/mainboard/google/rush_ryu/mainboard.c
@@ -151,6 +151,7 @@ static int enable_lcd_vdd(void)
break;
case BOARD_ID_PROTO_1:
case BOARD_ID_PROTO_3:
+ case BOARD_ID_PROTO_4:
gpio_set(EN_VDD_LCD, 1);
break;
default: /* unknown board */