Statistics
| Branch: | Revision:

root / hw / m25p80.c @ 6a659bbf

History | View | Annotate | Download (18.8 kB)

# Date Author Comment
a56d305a 01/27/2013 02:00 am Peter Crosthwaite

m25p80.c: Return state to IDLE after COLLECTING

Default to moving back to the IDLE state after the COLLECTING_DATA
state. For a well behaved guest this patch has no consequence, but
A bad guest could crash QEMU by using one of the erase commands
followed by a longer than 5 byte argument (undefined behaviour)....

9c17d615 12/19/2012 09:32 am Paolo Bonzini

softmmu: move include files to include/sysemu/

Signed-off-by: Paolo Bonzini <>

419336a9 10/29/2012 08:38 am Peter Crosthwaite

m25p80: Support for Quad SPI

Added the Quad mode read and write commands. Data remains serialized on a
single wire, i.e. the quad mode instructions just behave the same as single
mode, with the expection of modelling the varying number of dummy/mode bytes...

82a24990 10/10/2012 04:13 am Peter A. G. Crosthwaite

m25p80: Initial implementation of SPI flash device

Added device model for m25p80 style SPI flash family.

Signed-off-by: Peter A. G. Crosthwaite <>