diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2013-12-07 17:08:27 -0800 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-05-08 07:07:28 +0200 |
commit | 9928197c2678d6b19df40fe0d049f237bc924614 (patch) | |
tree | 04ee8b2899cb1257fd7c7d750443aacc24ae18c9 | |
parent | 27351b93c07e62a1b23dd492b625f0eca6e9283a (diff) | |
download | coreboot-9928197c2678d6b19df40fe0d049f237bc924614.tar.xz |
rambi: Make ec_in_rw a legacy GPIO
ec_in_rw needs to be read by depthcharge, which only supports legacy
GPIOs.
BUG=chrome-os-partner:24408
TEST=Manual on Rambi. Cold + warm boot device, verify that depthcharge
detects the proper ec_in_ro state.
BRANCH=None
Change-Id: I25802b445c795eb85580c22d880efee8eeb21318
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/179228
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/4993
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
-rw-r--r-- | src/mainboard/google/rambi/gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/google/rambi/gpio.c b/src/mainboard/google/rambi/gpio.c index 3bc6bd89e6..a93da53408 100644 --- a/src/mainboard/google/rambi/gpio.c +++ b/src/mainboard/google/rambi/gpio.c @@ -116,7 +116,7 @@ static const struct soc_gpio_map gpscore_gpio_map[] = { GPIO_INPUT, /* S0-SC056 - GPIO_S0_SC_56 - STRAP */ GPIO_FUNC1, /* S0-SC057 - PCH_UART_TXD */ GPIO_INPUT, /* S0-SC058 - SIM_DET_C */ - GPIO_INPUT, /* S0-SC059 - EC_IN_RW_C */ + GPIO_INPUT_LEGACY, /* S0-SC059 - EC_IN_RW_C */ GPIO_NC, /* S0-SC060 - NC */ GPIO_FUNC1, /* S0-SC061 - SOC_UART_RX */ GPIO_FUNC1, /* S0-SC062 - I2S_BCLK */ |