Brian Nemec uploaded patch set #2 to this change.
raiden_debug_spi.c: Refactor to support multiple protocols
Refactoring of the USB SPI protocol to support multiple protocols.
The changes include:
* Setting of USB SPI limits based on the device's USB protocol
* Creation of context states to keep track of bytes written to
and read from the device and individual USB packets.
* Creation of helper functions for handling transfer of data
between the USB packets and the data buffers.
* Removal of magic numbers on the USB return codes. Some renaming
of to make the protocol version clear.
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: Id404af14e55fa0884e29f28880206aaad4deba66
---
M raiden_debug_spi.c
1 file changed, 381 insertions(+), 177 deletions(-)
git pull ssh://review.coreboot.org:29418/flashrom refs/changes/32/41532/2
To view, visit change 41532. To unsubscribe, or for help writing mail filters, visit settings.