diff options
-rw-r--r-- | hw/pflash_cfi01.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pflash_cfi01.c b/hw/pflash_cfi01.c index 25e1eb9f23..93c172008c 100644 --- a/hw/pflash_cfi01.c +++ b/hw/pflash_cfi01.c @@ -267,7 +267,7 @@ static void pflash_write (pflash_t *pfl, target_ulong offset, uint32_t value, case 0x20: /* Block erase */ case 0x28: if (cmd == 0xd0) { /* confirm */ - pfl->wcycle = 1; + pfl->wcycle = 0; pfl->status |= 0x80; } else if (cmd == 0xff) { /* read array mode */ goto reset_flash; |