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@chromium.org>
Original-Commit-Id: 082ce1848bf37bba369fd0dccc4cf3fc83a8a018
Original-Change-Id: I58f009d2fc03cf5a52b4dbd042a92973cde4d035
Original-Signed-off-by: Yidi Lin <yidi.lin@mediatek.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/320029
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/13973
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
Yidi Lin 2015-12-28 17:22:33 +08:00 committed by Patrick Georgi
parent 70b3044e45
commit cd6aac1524
1 changed files with 2 additions and 1 deletions

View File

@ -176,7 +176,8 @@ static void mainboard_init(device_t dev)
/* TP_SHIFT_EN: Enables the level shifter for I2C bus 4 (TPAD), which /* TP_SHIFT_EN: Enables the level shifter for I2C bus 4 (TPAD), which
* also contains the PS8640 eDP brige and the USB hub. * 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 */ /* Config SD card detection pin */
gpio_input(PAD_EINT1); /* SD_DET */ gpio_input(PAD_EINT1); /* SD_DET */