Simon Buhrow uploaded patch set #3 to this change.

View Change

ft2232_spi.c: Pack read cmd and nCS in one ftdi_write_data() call

Every ftdi_write_data() call is quite time consuming as the ftdi-chip takes 2-3ms to respond.
As the comment already says: Minimize USB transfers by packing as many commands as possible together.

As I cannot see any reason to put read cmd and deassertion of nCS into separated ftdi calls,
I packed them together to save programming time.

Signed-off-by: Simon Buhrow <>
Change-Id: I3f76da3dd0124a0deec7f937dbc4b7dc488c8004
M ft2232_spi.c
1 file changed, 38 insertions(+), 40 deletions(-)

git pull ssh:// refs/changes/48/40748/3

To view, visit change 40748. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I3f76da3dd0124a0deec7f937dbc4b7dc488c8004
Gerrit-Change-Number: 40748
Gerrit-PatchSet: 3
Gerrit-Owner: Simon Buhrow
Gerrit-Reviewer: build bot (Jenkins) <>
Gerrit-CC: Paul Menzel <>
Gerrit-MessageType: newpatchset