[coreboot-gerrit] New patch to review for coreboot: google/oak: Enable TP_SHIFT_EN for the revisons before 5 only

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Tue Mar 8 22:35:22 CET 2016


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13973

-gerrit

commit 8ee164ee5145feb581b725b91ebf619a0647777a
Author: Yidi Lin <yidi.lin at mediatek.com>
Date:   Mon Dec 28 17:22:33 2015 +0800

    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 <pgeorgi at chromium.org>
    Original-Commit-Id: 082ce1848bf37bba369fd0dccc4cf3fc83a8a018
    Original-Change-Id: I58f009d2fc03cf5a52b4dbd042a92973cde4d035
    Original-Signed-off-by: Yidi Lin <yidi.lin at mediatek.com>
    Original-Reviewed-on: https://chromium-review.googlesource.com/320029
    Original-Reviewed-by: Julius Werner <jwerner at chromium.org>
---
 src/mainboard/google/oak/mainboard.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/mainboard/google/oak/mainboard.c b/src/mainboard/google/oak/mainboard.c
index b09703e..e58d168 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 */



More information about the coreboot-gerrit mailing list