summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@google.com>2016-07-18 10:03:29 +0800
committerchrome-bot <chrome-bot@chromium.org>2016-07-19 00:05:58 -0700
commiteb56185500932271836099aa8841991fbc677874 (patch)
treee0b4b814e44a2a929af2517b60a07dd1d787ed13 /include
parentb7a604728abe7e332a616b0cad761dec6e501877 (diff)
downloadchrome-ec-eb56185500932271836099aa8841991fbc677874.tar.gz
common/i2c: Remove I2C read/write commands
ectool stopped relying on these commands a while back, remove them to save space. BRANCH=none BUG=chrome-os-partner:23570 TEST=ectool i2cread still works Change-Id: I63c7a60cdc5ad5c654c49f165175e1b2fe8c4262 Reviewed-on: https://chromium-review.googlesource.com/361160 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/ec_commands.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h
index c69440fb06..0d0f686e7e 100644
--- a/include/ec_commands.h
+++ b/include/ec_commands.h
@@ -2712,8 +2712,10 @@ enum gpio_get_subcmd {
/* I2C commands. Only available when flash write protect is unlocked. */
/*
- * TODO(crosbug.com/p/23570): These commands are deprecated, and will be
- * removed soon. Use EC_CMD_I2C_PASSTHRU instead.
+ * CAUTION: These commands are deprecated, and are not supported anymore in EC
+ * builds >= 8398.0.0 (see crosbug.com/p/23570).
+ *
+ * Use EC_CMD_I2C_PASSTHRU instead.
*/
/* Read I2C bus */