summaryrefslogtreecommitdiff
path: root/src/mainboard/google/oak
diff options
context:
space:
mode:
authorYidi Lin <yidi.lin@mediatek.com>2015-11-13 16:21:48 +0800
committerPatrick Georgi <pgeorgi@google.com>2016-01-22 22:15:51 +0100
commitb9b2c6fef2e61721e5425345ff7951697b257569 (patch)
treef1f529a776696939e5be21bfe59b90581deb8fef /src/mainboard/google/oak
parente3413cce3c8aa92db2483198470fae3f89a8e947 (diff)
downloadcoreboot-b9b2c6fef2e61721e5425345ff7951697b257569.tar.xz
google/oak: Configurate SD card detection pin
BRANCH=none BUG=chrome-os-partner:47609 TEST=remove servo board connection and insert/remove an empty SD card in recovery mode. Change-Id: I89a1cb6914d634f07ff71b9793eb29b711381524 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: d21bf091a576574cb9e976447ee2b9a69748d2b6 Original-Change-Id: I2083605c9ad88841885dfaad48dcd27e6fb5161d Original-Signed-off-by: Yidi Lin <yidi.lin@mediatek.com> Original-Reviewed-on: https://chromium-review.googlesource.com/313073 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/13099 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/google/oak')
-rw-r--r--src/mainboard/google/oak/mainboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/oak/mainboard.c b/src/mainboard/google/oak/mainboard.c
index fbdddb6930..52d6bd41d7 100644
--- a/src/mainboard/google/oak/mainboard.c
+++ b/src/mainboard/google/oak/mainboard.c
@@ -110,6 +110,9 @@ static void mainboard_init(device_t dev)
*/
mt6391_gpio_output(MT6391_KP_ROW2, 1);
+ /* Config SD card detection pin */
+ gpio_input(PAD_EINT1); /* SD_DET */
+
configure_audio();
configure_backlight();
configure_usb();