From 8ea61bf52a492b7361ce80e1df1e0f61b41498fe Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Fri, 23 Mar 2018 13:02:25 -0700 Subject: [PATCH] meowth: Add GPP_B14_STRAP pins for both SKUs. GPP_B14_STRAP is being moved due to a change in EC SKU. We're not currently using this pin, but if we decide to in the future, we can set up the appropriate one based upon reading the Chip ID register. BUG=b:71717245 BRANCH=None TEST=Build and flash on both ECs, verify that they both boot up normally. Change-Id: Iaa25d5d77939bf55d6dc3991eec89ad5d6e92abb Signed-off-by: Aseda Aboagye Reviewed-on: https://chromium-review.googlesource.com/978677 Commit-Ready: Aseda Aboagye Tested-by: Aseda Aboagye Reviewed-by: Furquan Shaikh --- board/zoombini/gpio.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/board/zoombini/gpio.inc b/board/zoombini/gpio.inc index 8f833bc9be..dcd98490cd 100644 --- a/board/zoombini/gpio.inc +++ b/board/zoombini/gpio.inc @@ -201,6 +201,11 @@ GPIO(BOARD_VERSION1, PIN(9, 6), GPIO_INPUT) GPIO(BOARD_VERSION2, PIN(9, 3), GPIO_INPUT) GPIO(BOARD_VERSION3, PIN(A, 2), GPIO_INPUT) +/* Misc */ +/* GPP_B14_STRAP was moved between these two ECs. */ +GPIO(GPP_B14_STRAP_796F, PIN(D, 7), GPIO_INPUT) +GPIO(GPP_B14_STRAP_797W, PIN(7, 2), GPIO_INPUT) + /* UART Pins */ ALTERNATE(PIN_MASK(6, 0x30), 0, MODULE_UART, 0) /* Cr50 requires no pullups. */ /* I2C Ports */