summaryrefslogtreecommitdiff
path: root/board/chell
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2016-01-14 10:14:37 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-01-16 17:24:44 -0800
commita8f8be9b3a37f1adec91ab857fb3ded556398486 (patch)
tree9a3fdcac4d4981f5e8d673ac667492d1ba167c3d /board/chell
parentde6ad70607681d6a34893161ae4373bc10a6de8e (diff)
downloadchrome-ec-a8f8be9b3a37f1adec91ab857fb3ded556398486.tar.gz
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 <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/321929 Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/chell')
-rw-r--r--board/chell/gpio.inc4
1 files changed, 2 insertions, 2 deletions
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)