From 9928197c2678d6b19df40fe0d049f237bc924614 Mon Sep 17 00:00:00 2001 From: Shawn Nematbakhsh Date: Sat, 7 Dec 2013 17:08:27 -0800 Subject: rambi: Make ec_in_rw a legacy GPIO MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: https://chromium-review.googlesource.com/179228 Reviewed-by: Aaron Durbin Signed-off-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/4993 Reviewed-by: Kyösti Mälkki Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) --- src/mainboard/google/rambi/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/google') 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 */ -- cgit v1.2.3