aboutsummaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec/ec_i2c.c
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2014-08-06 14:34:57 -0500
committerPatrick Georgi <pgeorgi@google.com>2015-03-21 10:43:26 +0100
commit828272767d067cc215ff6c7dc93bd731a1a61765 (patch)
treea7b7b8078be296b2522d0f8b36ca78dfd43c64da /src/ec/google/chromeec/ec_i2c.c
parent3e49738baa84958e8f62211e676ad326682bc0bb (diff)
chromeec: allow transport implementation to provide buffers for proto v3
Depending on the transport mechanism for proto v3 different bytes need to be send and/or read before the request and response. Depending on the software and/or controller interface that requirement leads to needing to copy data into temporary buffers. Avoid this by allowing the transport mechanism to provide the request and response buffers. BUG=chrome-os-partner:31148 BRANCH=None TEST=Built for rush and ryu. Ran on ryu with i2c implementation. Also built for rambi to check x86 systems. Change-Id: I35d4d69bd1fa900fc0cfe3822496f381405bdcb1 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: c7224426e1d0bcf06ed010131a2462a6ca201d8b Original-Change-Id: Iad6cce566a253ca72e6f5009a97235ece0a6c1b5 Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/211138 Original-Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-on: http://review.coreboot.org/8827 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/ec/google/chromeec/ec_i2c.c')
0 files changed, 0 insertions, 0 deletions