summaryrefslogtreecommitdiffstats
path: root/hw/m25p80.c
Commit message (Collapse)AuthorAgeFilesLines
* m25p80.c: Return state to IDLE after COLLECTINGPeter Crosthwaite2013-01-271-0/+2
| | | | | | | | | | 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). Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
* softmmu: move include files to include/sysemu/Paolo Bonzini2012-12-191-1/+1
| | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
* m25p80: Support for Quad SPIPeter Crosthwaite2012-10-291-4/+57
| | | | | | | | | 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 between the address bytes and the first data word. Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
* m25p80: Initial implementation of SPI flash devicePeter A. G. Crosthwaite2012-10-101-0/+598
Added device model for m25p80 style SPI flash family. Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
OpenPOWER on IntegriCloud