From a8f8be9b3a37f1adec91ab857fb3ded556398486 Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Thu, 14 Jan 2016 10:14:37 -0800 Subject: chell: Invert board version GPIOs The GPIOs were set incorrectly in EVT so invert them in the EC so we can keep an incrementing board version. BUG=chrome-os-partner:49357 BRANCH=glados TEST=test that 'version' reports 1 for EVT board instead of 4 Change-Id: I520c3e09c7c3f0797b46807932f859aa490ac4c7 Signed-off-by: Duncan Laurie Reviewed-on: https://chromium-review.googlesource.com/321929 Reviewed-by: Shawn N --- board/chell/gpio.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'board/chell') diff --git a/board/chell/gpio.inc b/board/chell/gpio.inc index 20cab05eae..6e31375851 100644 --- a/board/chell/gpio.inc +++ b/board/chell/gpio.inc @@ -80,9 +80,9 @@ GPIO(USB2_OTG_ID, PIN(13), GPIO_ODR_LOW) GPIO(USB2_OTG_VBUSSENSE, PIN(140), GPIO_OUT_LOW) /* Board version */ -GPIO(BOARD_VERSION1, PIN(6), GPIO_INPUT) +GPIO(BOARD_VERSION1, PIN(10), GPIO_INPUT) GPIO(BOARD_VERSION2, PIN(7), GPIO_INPUT) -GPIO(BOARD_VERSION3, PIN(10), GPIO_INPUT) +GPIO(BOARD_VERSION3, PIN(6), GPIO_INPUT) GPIO(KBD_KSO2, PIN(101), GPIO_KB_OUTPUT_COL2) GPIO(PVT_CS0, PIN(146), GPIO_ODR_HIGH) GPIO(KEYBOARD_BACKLIGHT, PIN(34), GPIO_OUT_LOW) -- cgit v1.2.1