diff options
author | Nicolas Boichat <drinkcat@google.com> | 2016-05-31 11:31:02 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-06-01 03:44:31 -0700 |
commit | b6576ce2db7840f59ab330f1f3721a299c3d8cf8 (patch) | |
tree | 7a6dfae568ba94de45e03712dae0aca01bfd6fae /COMMIT-QUEUE.ini | |
parent | aca616c551d635a9e3bcfd627b26cede69abb419 (diff) | |
download | chrome-ec-b6576ce2db7840f59ab330f1f3721a299c3d8cf8.tar.gz |
ectool: i2cread/write: Use EC_CMD_I2C_PASSTHRU
EC_CMD_I2C_READ/WRITE are deprecated, and can easily be replaced
by EC_CMD_I2C_PASSTHRU: stop using them so that we can remove them
from EC image.
BRANCH=none
BUG=chrome-os-partner:23570
TEST=emerge-elm ec-utils && cros deploy IP ec-utils
cd /usr/sbin
./ectool i2cxfer 1 0x28 0 0xE0 0xAB 0xCD
./ectool i2cxfer 1 0x28 2 0xE0
./ectool i2cwrite 16 1 0x50 0xE0 0xDEEF
./ectool i2cread 16 1 0x50 0xE0
./ectool i2cwrite 8 1 0x50 0xE0 0xAA
./ectool i2cread 8 1 0x50 0xE0
Change-Id: Ia2a6115b62e81e4f256d67340993c55bf016989a
Signed-off-by: Nicolas Boichat <drinkcat@google.com>
Reviewed-on: https://chromium-review.googlesource.com/348126
Commit-Ready: Nicolas Boichat <drinkcat@chromium.org>
Tested-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'COMMIT-QUEUE.ini')
0 files changed, 0 insertions, 0 deletions