summaryrefslogtreecommitdiff
path: root/board/elm
diff options
context:
space:
mode:
authorRong Chang <rongchang@chromium.org>2017-10-17 11:16:39 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-10-20 06:08:58 -0700
commit67c8adc817c1153eb32e6f1a81ebe2f7782415ef (patch)
tree0103bba77bce484b7b5e38d5e90fc3018acfb4c6 /board/elm
parentccfc005fa414a6faa45a4168e27669b62abe1d5d (diff)
downloadchrome-ec-67c8adc817c1153eb32e6f1a81ebe2f7782415ef.tar.gz
hana: Add EC console USART internal pull-up
This change prevents the floating RX console pin from entering unwanted commands. BRANCH=oak BUG=b:67033247 TEST=manual load on hana and probe USART RX pin Change-Id: I6dc05e03f82dcc71ea6f957f93c5fe7c6b65d2bf Signed-off-by: Rong Chang <rongchang@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/722381 Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'board/elm')
-rw-r--r--board/elm/gpio.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/elm/gpio.inc b/board/elm/gpio.inc
index e48290c4ab..246c97edcd 100644
--- a/board/elm/gpio.inc
+++ b/board/elm/gpio.inc
@@ -106,7 +106,7 @@ GPIO(SPI2_NSS_DB, PIN(F, 6), GPIO_OUT_HIGH) /* daughterboard */
/* sensor power control */
GPIO(SENSOR_PWR_EN_L, PIN(D, 11), GPIO_OUT_LOW)
-ALTERNATE(PIN_MASK(A, 0x0600), 1, MODULE_UART, 0) /* USART1: PA9/PA10 */
+ALTERNATE(PIN_MASK(A, 0x0600), 1, MODULE_UART, GPIO_PULL_UP) /* USART1: PA9/PA10 */
ALTERNATE(PIN_MASK(B, 0x00c0), 1, MODULE_I2C, 0) /* I2C MASTER:PB6/7 */
ALTERNATE(PIN_MASK(B, 0x6000), 5, MODULE_I2C, 0) /* I2C MASTER:PB13/14 */
ALTERNATE(PIN_MASK(A, 0x00f0), 0, MODULE_SPI, 0) /* SPI SLAVE:PA4/5/6/7 */