summaryrefslogtreecommitdiff
path: root/board/samus/board.h
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@chromium.org>2014-06-17 16:19:20 +0800
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-06-22 00:24:38 +0000
commit6232d78df5d5547f3ac2a4803f2f762c2b40568d (patch)
tree0f85d75d9190c5a1cefb2a88c06eff876ec342ea /board/samus/board.h
parent4702a1d19bef7da427dc05b3675d53b76b0c979b (diff)
downloadchrome-ec-6232d78df5d5547f3ac2a4803f2f762c2b40568d.tar.gz
samus: Support both Proto2A and Proto2B sequencing
Use the board version to implement both power sequence behaviors in order to support both boards with one EC image. The order of bits used to calculate board version was swapped so update the GPIO table to reflect that. BUG=chrome-os-partner:29502 BRANCH=None TEST=build and boot on samus proto2a Change-Id: Ib0f6010163af4b3bf9b39f64c26220aee43618ef Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/204869 Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'board/samus/board.h')
-rw-r--r--board/samus/board.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/samus/board.h b/board/samus/board.h
index b9ac5c6cbe..431da8ca7b 100644
--- a/board/samus/board.h
+++ b/board/samus/board.h
@@ -240,9 +240,9 @@ enum als_id {
/* Known board versions for system_get_board_version(). */
enum board_version {
- BOARD_VERSION_PROTO1 = 0,
- BOARD_VERSION_PROTO1B = 1,
- BOARD_VERSION_PROTO1_9 = 2,
+ BOARD_VERSION_PROTO_1_9 = 0,
+ BOARD_VERSION_PROTO_2_A = 1,
+ BOARD_VERSION_PROTO_2_B = 2,
};
/* Wireless signals */