Programming SPI flash with an FT2232 breakout board

Connection diagram

Pin on MainboardFunction SPIFunction QSPIPin on FTDI
CS#Chip selectChip selectADBUS 3
VCC3.3v output3.3v outputNot connected
SO/SIO1Data outputData bit 1ADBUS 2
SIO3UnusedData bit 3Not connected
WP#/SIO2Write protectData bit 2Not connected
SCLKClockClockADBUS 0
BMC RESET#ResetResetGround
SI/SIO0Data inputData bit 0ADBUS 1
GNDGroundGroundGround