]> git.proxmox.com Git - qemu.git/blobdiff - hw/pflash_cfi01.c
hw/pflash_cfi01: Make read after byte-write or erase return status
[qemu.git] / hw / pflash_cfi01.c
index 9e6ff5233650ce86a77256521512c90bf46f99c0..c79e5995c2ee559454243550aa07bc63a001d2b3 100644 (file)
@@ -162,7 +162,10 @@ static uint32_t pflash_read (pflash_t *pfl, hwaddr offset,
         }
 
         break;
+    case 0x10: /* Single byte program */
     case 0x20: /* Block erase */
+    case 0x28: /* Block erase */
+    case 0x40: /* single byte program */
     case 0x50: /* Clear status register */
     case 0x60: /* Block /un)lock */
     case 0x70: /* Status Register */