summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMary Ruthven <mruthven@chromium.org>2021-11-12 11:49:52 -0600
committerCommit Bot <commit-bot@chromium.org>2021-11-18 04:55:06 +0000
commitffdb92b3c3d3373f37d69d0e91880789e093644a (patch)
tree4cad3cbf2bce5ddcb84ba1da72ab1f3e83cfee02 /include
parenta340a64dc9cc1ee0b8302ee4f9fa27375487bd94 (diff)
downloadchrome-ec-ffdb92b3c3d3373f37d69d0e91880789e093644a.tar.gz
Revert "common: add i2c tracing functionality"
This reverts commit f8d6179a26bf512c43638d0916fde0fc966cc3fb. BUG=b:200823466 TEST=make buildall -j Change-Id: I8e7a4bbd01bc99bedd2abf77b0d482ed679de865 Signed-off-by: Mary Ruthven <mruthven@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3285753 Reviewed-by: Vadim Sukhomlinov <sukhomlinov@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/i2c.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/i2c.h b/include/i2c.h
index 901c13bc77..6962ff2b5b 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -10,7 +10,6 @@
#include "common.h"
#include "host_command.h"
-#include "stddef.h"
/*
* I2C Peripheral Address encoding
@@ -510,20 +509,6 @@ void i2c_start_xfer_notify(const int port,
void i2c_end_xfer_notify(const int port,
const uint16_t periph_addr_flags);
-/**
- * Defined in common/i2c_trace.c, used by i2c controller to notify tracing
- * funcionality of transactions.
- *
- * @param port: I2C port number
- * @param periph_addr: peripheral device address
- * @param direction: 0 for write,
- * 1 for read
- * @param data: pointer to data read or written
- * @param size: size of data read or written
- */
-void i2c_trace_notify(int port, uint16_t periph_addr_flags,
- int direction, const uint8_t *data, size_t size);
-
/*
* Interrupt handler of GPIO_MONITOR_I2CP_SDA.
* Its role is to detect any transaction start during INT_AP_L