History | View | Annotate | Download (19.3 kB)
hw: include hw header files with full paths
Done with this script:
cd hwfor i in `find . -name '*.h' | sed 's/^..//'`; do echo '\,^#.*include.*["<]'$i'[">], s,'$i',hw/&,'done | sed -i -f - `find . -type f`
This is so that paths remain valid as files are moved....
m25p80.c: Use QOM classes for part differentiation
Currently, M25P80 uses an object property to differentiate between flash parts.Changed this over to use QOM sub-classes - the actual names of the different partsare used to create a set of dynamic classes which passes the part info as class...
hw/m25p80.c: add WRSR support
Atmel, SST and Intel/Numonyx serial flash tend to power upwith the software protection bits set.And thus the new m25p80.c in linux kernel would always triesto use WREN + WRSR to turn-off the protection....
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>