From 20557c28ceb0117e4a5ae57b043e5e3edd385162 Mon Sep 17 00:00:00 2001 From: David Riley Date: Tue, 17 Feb 2015 15:28:10 -0800 Subject: 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 Original-Commit-Id: 0674037b1f00845ffcd129cb54571f185b42af40 Original-Change-Id: If14e2586c4ef5b44af1754b3f06126b79473798b Original-Signed-off-by: David Riley Original-Reviewed-on: https://chromium-review.googlesource.com/250634 Original-Reviewed-by: Furquan Shaikh Reviewed-on: http://review.coreboot.org/9760 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/google/rush_ryu/gpio.h | 1 + src/mainboard/google/rush_ryu/mainboard.c | 1 + 2 files changed, 2 insertions(+) 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 */ -- cgit v1.2.3