summaryrefslogtreecommitdiff
path: root/board/discovery/board.c
diff options
context:
space:
mode:
authorDave Parker <dparker@google.com>2014-06-21 15:44:27 -0700
committerchrome-internal-fetch <chrome-internal-fetch@google.com>2014-06-26 02:42:32 +0000
commit88c0ffd692b4e6d5fadc75bb15255e0684d6a1c9 (patch)
treebd9b78644c6d8a6c27144104acc72655cea539df /board/discovery/board.c
parentf2b9ba0ac96f5932f16f443a816cedb7ca6b5358 (diff)
downloadchrome-ec-88c0ffd692b4e6d5fadc75bb15255e0684d6a1c9.tar.gz
ectool: Add back support for version 0 of batterycutoff command
ectool must support all prior versions of commands that shipped EC binaries use. BUG=chrome-os-partner:29830 BRANCH=None TEST=Manual With an EC that only supports version 0: - Run 'ectool batterycutoff' -> success - Run 'ectool batterycutoff at-shutdown' -> error with explicit message about at-shutdown not being supported - Run 'ectool batterycutoff foo' -> error, bad parameter With an EC that support version 0 or 1: - Run 'ectool batterycutoff' -> success - Run 'ectool batterycutoff at-shutdown' -> success - Run 'ectool batterycutoff foo' -> error, bad parameter Change-Id: Ia88cfc5fa7c5125828ec0595f0b6a505916c97ea Signed-off-by: Dave Parker <dparker@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/205155 Reviewed-by: Vic Yang <victoryang@chromium.org>
Diffstat (limited to 'board/discovery/board.c')
0 files changed, 0 insertions, 0 deletions