qemu/hw/block
Philippe Mathieu-Daudé 611c749c3b hw/block/pflash_cfi01: Start state machine as READY to accept commands
When the state machine is ready to accept command, the bit 7 of
the status register (SR) is set to 1.
The guest polls the status register and check this bit before
writting command to the internal 'Write State Machine' (WSM).

Set SR.7 bit to 1 when the device is created.

There is no migration impact by this change.

Reference: Read Array Flowchart
  "Common Flash Interface (CFI) and Command Sets"
   (Intel Application Note 646)
   Appendix B "Basic Command Set"

Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
Message-Id: <20190715121338.20600-5-philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2019-07-16 17:54:06 +02:00
..
dataplane xen-bus / xen-block: add support for event channel polling 2019-06-24 10:42:29 +01:00
block.c
cdrom.c
ecc.c
fdc.c
hd-geometry.c
Kconfig
m25p80.c
Makefile.objs
nand.c
nvme.c nvme: do not advertise support for unsupported arbitration mechanism 2019-06-24 15:53:01 +02:00
nvme.h
onenand.c
pflash_cfi01.c hw/block/pflash_cfi01: Start state machine as READY to accept commands 2019-07-16 17:54:06 +02:00
pflash_cfi02.c hw/block/pflash_cfi02: Explicit switch fallthrough for ERASE commands 2019-07-16 17:54:06 +02:00
tc58128.c
trace-events hw/block/pflash: Simplify trace_pflash_data_read/write() 2019-07-02 02:16:50 +02:00
vhost-user-blk.c virtio: add "use-started" property 2019-07-04 17:00:32 -04:00
virtio-blk.c
xen-block.c qapi: Split qom.json and qdev.json off misc.json 2019-07-02 07:19:57 +02:00
xen_blkif.h xen: Import other xen/io/*.h 2019-06-24 10:42:30 +01:00