diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2013-02-28 18:23:12 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2013-02-28 18:23:12 +0000 |
| commit | 6e392787c85809671033ec419d8e8ecf684d55da (patch) | |
| tree | 049a52a7d518f2fcdf1cd2ee4b7c1c9b8f1323be /hw/cadence_gem.c | |
| parent | 5c78d6a84b504e831adc8f1917cde0c79061dff0 (diff) | |
| download | focaccia-qemu-6e392787c85809671033ec419d8e8ecf684d55da.tar.gz focaccia-qemu-6e392787c85809671033ec419d8e8ecf684d55da.zip | |
hw/pflash_cfi01: Make read after byte-write or erase return status
The Intel flash command set requires that a read operation after doing a 'single byte write' command returns the status register; add this case to pflash_read() so we return the correct information. Similarly, the case for the 0x28 flavour of block erase was missing. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Tested-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Message-id: 1358777318-7579-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'hw/cadence_gem.c')
0 files changed, 0 insertions, 0 deletions