aboutsummaryrefslogtreecommitdiffstats
path: root/serial.c
diff options
context:
space:
mode:
authorBrian J. Nemec <bnemec@chromium.org>2020-07-17 02:00:15 -0700
committerEdward O'Callaghan <quasisec@chromium.org>2020-07-20 04:49:20 +0000
commitce80d1897371f93c8a66afec842783ef7b217419 (patch)
treee2bc3138ab30d0df023eae7a8d7646a728b48875 /serial.c
parent7a88780e922d7852ca6f8c573449921a58dea3d9 (diff)
downloadflashrom-ce80d1897371f93c8a66afec842783ef7b217419.tar.gz
flashrom-ce80d1897371f93c8a66afec842783ef7b217419.tar.bz2
flashrom-ce80d1897371f93c8a66afec842783ef7b217419.zip
raiden_debug_spi.c: Add transfer context states
Add context states to handle the read and write buffers as transmit and receive states. These are used to keep track of the number of bytes transmitted and received allowing future support of multi-packet messages in the v2 protocol and easier integration with a unified USB packet context. BUG=b:139058552 BRANCH=none TEST=Manual testing of ServoMicro and Flashrom when performing reads, writes, and verification of the EC firmware on Nami. TEST=Builds Signed-off-by: Brian J. Nemec <bnemec@chromium.com> Change-Id: Ic6eea82ffc604ec56278f7aaa0deafe0cf75973c Reviewed-on: https://review.coreboot.org/c/flashrom/+/41608 Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'serial.c')
0 files changed, 0 insertions, 0 deletions