summaryrefslogtreecommitdiff
path: root/include/cros_ec.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-08-03 08:19:33 -0600
committerSimon Glass <sjg@chromium.org>2015-08-05 21:06:16 -0600
commit24696e2f214b3a14a7fbaae032800fb8f8fc848b (patch)
tree316f60e2189337c4d37a7da92ea2ff243828b257 /include/cros_ec.h
parent05bccbcd761e7170e236c982915781b143051abb (diff)
cros_ec: Remove the old tunnel code
This is not needed with driver mode. Remove it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/cros_ec.h')
-rw-r--r--include/cros_ec.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/cros_ec.h b/include/cros_ec.h
index 0ad9d81243..b9269341c3 100644
--- a/include/cros_ec.h
+++ b/include/cros_ec.h
@@ -400,18 +400,4 @@ struct i2c_msg;
*/
int cros_ec_i2c_tunnel(struct udevice *dev, struct i2c_msg *msg, int nmsgs);
-/*
- * Tunnel an I2C transfer to the EC
- *
- * @param dev CROS-EC device
- * @param chip Chip address (7-bit I2C address)
- * @param addr Register address to read/write
- * @param alen Length of register address in bytes
- * @param buffer Buffer containing data to read/write
- * @param len Length of buffer
- * @param is_read 1 if this is a read, 0 if this is a write
- */
-int cros_ec_i2c_xfer_old(struct cros_ec_dev *dev, uchar chip, uint addr,
- int alen, uchar *buffer, int len, int is_read);
-
#endif