diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2015-10-01 11:54:09 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-10-05 12:30:20 -0700 |
commit | 5d82dbc4910fcbcfceb8911864790c146a461684 (patch) | |
tree | 368a365096808c085d4c58218330e843f8f1f21e /include/host_command.h | |
parent | e498de6ad69e94d4de4bf3d3c69d0568047f65be (diff) | |
download | chrome-ec-5d82dbc4910fcbcfceb8911864790c146a461684.tar.gz |
ryu: export board version
Export the board version through the usual EC_CMD_GET_BOARD_VERSION.
Add an option to use the board-specific board_get_version() callback
rather than doing the generic GPIO binary decoding since here the
version is ternary encoded.
Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BRANCH=smaug
BUG=none
TEST=execute 'ectool boardversion' on the AP and see the right number.
Change-Id: I89c328573d09be02232756797ba3fdd5979b0292
Reviewed-on: https://chromium-review.googlesource.com/303368
Trybot-Ready: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
(cherry picked from commit 6c620c51e5ab812b4e6751e4c630da2e6bee4b74)
Reviewed-on: https://chromium-review.googlesource.com/303803
Commit-Ready: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'include/host_command.h')
0 files changed, 0 insertions, 0 deletions