diff options
author | Yidi Lin <yidi.lin@mediatek.com> | 2015-12-28 17:22:33 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2016-03-12 09:09:19 +0100 |
commit | cd6aac15242d8a74a90f789c108b331a41b2aa6f (patch) | |
tree | 0af6a52a111fbe72545d1619989bae9bee07f8fd /src/mainboard | |
parent | 70b3044e4565de6885d09c7c3050aebe3411303d (diff) | |
download | coreboot-cd6aac15242d8a74a90f789c108b331a41b2aa6f.tar.xz |
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>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/oak/mainboard.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 */ |