diff options
author | Vic Yang <victoryang@chromium.org> | 2013-05-29 10:26:18 +0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-06-03 14:32:16 -0700 |
commit | e52aba6ecac45d2c27acc78316e835620840408a (patch) | |
tree | 7648425ebe293671a43ced7d824b72e6779b7e3f /include/flash.h | |
parent | d6d3b7cbc5621519d54d231aba13aa4ab50651aa (diff) | |
download | chrome-ec-e52aba6ecac45d2c27acc78316e835620840408a.tar.gz |
Make ectool LED command more generic
This adds the option to specify which LED to control as well as the
ability to query the supported LED color on the board.
BUG=chrome-os-partner:19745
TEST=On Spring:
- ectool led 0 query -> See the max value for R, G, Y is 0x80.
- ectool led 1 query -> See error message.
- ectool led 0 yellow -> See LED turns yellow.
- ectool led 0 green=0x40 red=0x40 -> See green and red lit up.
- ectool led 0 auto -> See LED turns off (without charger.)
BRANCH=spring
Change-Id: Ibdde2f7450122f59383dad1030a0a2a985386f73
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/56877
Diffstat (limited to 'include/flash.h')
0 files changed, 0 insertions, 0 deletions