From cd6aac15242d8a74a90f789c108b331a41b2aa6f Mon Sep 17 00:00:00 2001 From: Yidi Lin Date: Mon, 28 Dec 2015 17:22:33 +0800 Subject: google/oak: Enable TP_SHIFT_EN for the revisons before 5 only BRANCH=none BUG=none TEST=emerge coreboot Change-Id: Ic46490a56a6a8146b91a055b9ce5d5bb23bc7a49 Signed-off-by: Patrick Georgi Original-Commit-Id: 082ce1848bf37bba369fd0dccc4cf3fc83a8a018 Original-Change-Id: I58f009d2fc03cf5a52b4dbd042a92973cde4d035 Original-Signed-off-by: Yidi Lin Original-Reviewed-on: https://chromium-review.googlesource.com/320029 Original-Reviewed-by: Julius Werner Reviewed-on: https://review.coreboot.org/13973 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/google/oak/mainboard.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mainboard/google') diff --git a/src/mainboard/google/oak/mainboard.c b/src/mainboard/google/oak/mainboard.c index b09703eec6..e58d168d8f 100644 --- a/src/mainboard/google/oak/mainboard.c +++ b/src/mainboard/google/oak/mainboard.c @@ -176,7 +176,8 @@ static void mainboard_init(device_t dev) /* TP_SHIFT_EN: Enables the level shifter for I2C bus 4 (TPAD), which * also contains the PS8640 eDP brige and the USB hub. */ - mt6391_gpio_output(MT6391_KP_ROW2, 1); + if (board_id() < 5) + mt6391_gpio_output(MT6391_KP_ROW2, 1); /* Config SD card detection pin */ gpio_input(PAD_EINT1); /* SD_DET */ -- cgit v1.2.3