aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ft2232_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ft2232_spi.c b/ft2232_spi.c
index 3e4dc9e4..1a5b2feb 100644
--- a/ft2232_spi.c
+++ b/ft2232_spi.c
@@ -495,7 +495,7 @@ static int ft2232_spi_send_command(struct flashctx *flash,
*/
msg_pspew("Assert CS#\n");
buf[i++] = SET_BITS_LOW;
- buf[i++] = 0 & ~cs_bits; /* assertive */
+ buf[i++] = ~ 0x08 & cs_bits; /* assert CS (3rd) bit only */
buf[i++] = pindir;
if (writecnt) {