Aaron Durbin (adurbin@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4993
-gerrit
commit 2eaa4871cf0edd4c09ced090e4fb17ca7330dceb Author: Shawn Nematbakhsh shawnn@chromium.org Date: Sat Dec 7 17:08:27 2013 -0800
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 --- src/mainboard/google/rambi/gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mainboard/google/rambi/gpio.c b/src/mainboard/google/rambi/gpio.c index 3bc6bd8..a93da53 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 */