mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-06 06:52:00 +00:00
b6576ce2db7840f59ab330f1f3721a299c3d8cf8
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>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%