Peter Maydell 6e392787c8 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
2013-02-28 18:23:12 +00:00
..
2013-02-22 21:29:44 +01:00
2013-02-13 11:56:02 -06:00
2013-02-23 09:39:41 +00:00
2013-01-10 15:11:53 -06:00
2013-01-25 22:02:55 +01:00
2013-01-25 22:02:55 +01:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2012-12-17 13:02:26 +02:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2013-01-10 15:11:53 -06:00
2012-12-19 08:31:31 +01:00
2013-02-01 11:03:00 -06:00
2013-01-10 15:11:53 -06:00
2012-12-19 08:31:31 +01:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-25 22:02:55 +01:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-02-01 11:03:01 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-02-01 11:03:01 -06:00
2012-12-19 08:31:31 +01:00
2013-01-10 15:11:53 -06:00
2012-12-19 08:31:31 +01:00
2012-12-19 08:31:31 +01:00
2013-02-01 11:03:00 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-07 12:57:24 +01:00
2013-01-07 12:57:24 +01:00
2012-12-19 08:32:39 +01:00
2013-02-01 10:43:24 -06:00
2013-02-01 10:43:24 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-30 01:31:09 +02:00
2013-02-01 00:13:41 +01:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-02-01 10:43:28 -06:00
2013-01-14 10:23:50 -06:00
2013-01-10 15:11:53 -06:00
2013-01-15 18:26:18 -06:00
2013-02-01 11:03:00 -06:00
2013-02-01 11:03:00 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-02-01 10:43:24 -06:00
2013-02-12 10:03:27 +01:00
2013-01-25 22:02:54 +01:00
2013-01-25 22:02:54 +01:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-02-01 11:03:01 -06:00
2013-02-01 11:03:00 -06:00
2012-12-19 08:31:31 +01:00
2013-01-10 15:11:53 -06:00
2013-02-01 11:03:00 -06:00
2013-02-01 11:03:00 -06:00
2013-02-01 11:03:01 -06:00
2012-12-19 08:31:31 +01:00
2013-02-01 11:03:00 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-14 08:59:39 +01:00
2013-01-14 10:23:50 -06:00
2013-01-10 15:11:53 -06:00
2013-02-01 11:03:01 -06:00
2013-02-01 11:03:00 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-27 23:04:26 +01:00
2013-01-15 04:09:13 +01:00
2012-12-19 08:31:31 +01:00
2013-02-01 11:03:01 -06:00
2013-02-21 16:34:00 -06:00
2013-02-01 00:13:41 +01:00
2013-02-01 11:03:01 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2012-12-19 08:31:31 +01:00
2013-01-10 15:11:53 -06:00
2012-12-19 08:32:39 +01:00
2013-01-10 15:11:53 -06:00
2013-01-14 10:23:50 -06:00
2013-01-24 09:45:03 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-02-01 11:03:00 -06:00
2013-02-01 11:03:00 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-02-01 11:03:00 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-16 12:14:20 -06:00
2013-01-16 12:14:20 -06:00
2013-01-10 15:11:53 -06:00
2013-01-25 22:02:53 +01:00
2013-02-19 12:30:05 +01:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-02-21 16:34:00 -06:00
2013-02-01 11:03:02 -06:00
2013-02-01 11:03:02 -06:00
2013-02-01 11:03:02 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-02-21 16:34:00 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-02-01 10:43:24 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2012-12-17 13:02:26 +02:00
2013-02-21 16:34:00 -06:00
2013-02-01 11:03:00 -06:00
2013-01-15 04:09:13 +01:00
2013-02-01 11:03:00 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-01-15 18:26:18 -06:00
2013-01-10 15:11:53 -06:00