Revision 71fb2348 hw/pflash_cfi01.c
b/hw/pflash_cfi01.c | ||
---|---|---|
276 | 276 |
|
277 | 277 |
break; |
278 | 278 |
case 0xe8: |
279 |
DPRINTF("%s: block write of %x bytes\n", __func__, cmd);
|
|
280 |
pfl->counter = cmd;
|
|
279 |
DPRINTF("%s: block write of %x bytes\n", __func__, value);
|
|
280 |
pfl->counter = value;
|
|
281 | 281 |
pfl->wcycle++; |
282 | 282 |
break; |
283 | 283 |
case 0x60: |
... | ... | |
583 | 583 |
pfl->cfi_table[0x28] = 0x02; |
584 | 584 |
pfl->cfi_table[0x29] = 0x00; |
585 | 585 |
/* Max number of bytes in multi-bytes write */ |
586 |
pfl->cfi_table[0x2A] = 0x04;
|
|
586 |
pfl->cfi_table[0x2A] = 0x0B;
|
|
587 | 587 |
pfl->cfi_table[0x2B] = 0x00; |
588 | 588 |
/* Number of erase block regions (uniform) */ |
589 | 589 |
pfl->cfi_table[0x2C] = 0x01; |
Also available in: Unified diff