diff options
author | Brian J. Nemec <bnemec@chromium.org> | 2020-07-20 10:32:21 -0700 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2020-07-21 00:41:12 +0000 |
commit | 2cb1f333c8985fca0424a3f1a5032bdfdf541968 (patch) | |
tree | 3ca6780e99dfffd1be5da4f94aabf125f4d21ba1 /cbtable.c | |
parent | a7b526d92b0f18680f495c904edc57b18dd45a77 (diff) | |
download | flashrom-2cb1f333c8985fca0424a3f1a5032bdfdf541968.tar.gz flashrom-2cb1f333c8985fca0424a3f1a5032bdfdf541968.tar.bz2 flashrom-2cb1f333c8985fca0424a3f1a5032bdfdf541968.zip |
raiden_debug_spi.c: Add support for USB SPI protocol V2
Add support for the USB SPI V2 protocol and its documentation.
The protocol version number uses the bInterfaceProtocol field in
USB to identify which device to use, this enables us to support
both V1 and V2 with the same host.
The USB SPI V2 protocol adds the ability to perform multi-packet
USB SPI transfers. This results in fewer USB messages exchanged,
larger SPI transfers, and faster flashing speeds.
BUG=b:139058552
BRANCH=none
TEST=Manual testing of ServoMicro and Flashrom when performing
reads, writes, and verification of the EC firmware on Nami
with a USB SPI V1 protocol device
TEST=Manual testing of ServoMicro and Flashrom when performing
reads, writes, and verification of the EC firmware on Nami
with a USB SPI V2 protocol device
TEST=Builds
Signed-off-by: Brian J. Nemec <bnemec@chromium.com>
Change-Id: Ie356c63b521c0cc11a4946ffac128ec7139f0bec
Reviewed-on: https://review.coreboot.org/c/flashrom/+/41533
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'cbtable.c')
0 files changed, 0 insertions, 0 deletions