History | View | Annotate | Download (18.8 kB)
m25p80.c: Return state to IDLE after COLLECTING
Default to moving back to the IDLE state after the COLLECTING_DATAstate. For a well behaved guest this patch has no consequence, butA bad guest could crash QEMU by using one of the erase commandsfollowed by a longer than 5 byte argument (undefined behaviour)....
softmmu: move include files to include/sysemu/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
m25p80: Support for Quad SPI
Added the Quad mode read and write commands. Data remains serialized on asingle wire, i.e. the quad mode instructions just behave the same as singlemode, with the expection of modelling the varying number of dummy/mode bytes...
m25p80: Initial implementation of SPI flash device
Added device model for m25p80 style SPI flash family.
Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>