Kuo-Jung Su 0bc472a9d6 hw/nand.c: correct the sense of the BUSY/READY status bit
The BIT6 of Status Register(SR):

SR[6] behaves the same as R/B# pin
    SR[6] = 0 indicates the device is busy;
    SR[6] = 1 means the device is ready

Some NAND flash controller (i.e. ftnandc021) relies on the SR[6]
to determine if the NAND flash erase/program is success or error timeout.

P.S:
The exmaple NAND flash datasheet could be found at following link:
http://www.mxic.com.tw/QuickPlace/hq/PageLibrary4825740B00298A3B.nsf/h_Index/8FEA549237D2F7674825795800104C26/$File/MX30LF1G08AA,%203V,%201Gb,%20v1.1.pdf

Signed-off-by: Kuo-Jung Su <dantesu@gmail.com>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
2013-03-07 09:27:11 +01: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-02-28 18:23:14 +00:00
2013-02-28 18:23:14 +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
2012-10-23 08:58:25 -05:00
2012-06-21 16:06:11 +00: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
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-01-10 15:11:53 -06:00
2012-03-14 22:20:26 +01: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-10-23 08:58:25 -05: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-10-23 08:58:25 -05: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
2012-10-23 08:58:25 -05:00
2012-10-10 11:13:32 +10:00
2012-10-10 11:13:32 +10:00
2012-02-10 10:44:52 +00: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
2012-11-26 14:25:42 -06:00
2013-01-10 15:11:53 -06:00
2013-01-10 15:11:53 -06:00
2013-02-01 00:13:41 +01:00
2013-01-10 15:11:53 -06:00
2012-10-23 08:58:25 -05: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
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05: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
2012-11-12 16:42:56 +01:00
2012-03-14 22:20:26 +01:00
2012-03-14 22:20:26 +01: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
2012-11-10 13:49:20 +00:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2013-02-01 11:03:00 -06:00
2012-07-27 21:13:01 +00: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
2012-02-17 09:58:22 -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
2012-12-04 13:52:43 +01:00
2012-12-04 13:52:43 +01:00
2012-10-23 08:58:25 -05:00
2013-01-27 23:04:26 +01:00
2012-04-12 11:14:29 +01:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05: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
2012-10-23 08:58:25 -05:00
2013-01-10 15:11:53 -06:00
2012-10-23 08:58:25 -05:00
2012-10-23 08:58:25 -05: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
2012-10-10 11:13:32 +10: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
2012-02-04 12:45:10 +00: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-26 23:59:15 +02: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