Brian Norris
3dad2344e9
mtd: nand: force NAND_CMD_READID onto 8-bit bus
...
The NAND command helpers tend to automatically shift the column address
for x16 bus devices, since most commands expect a word address, not a
byte address. The Read ID command, however, expects an 8-bit address
(i.e., 0x00, 0x20, or 0x40 should not be translated to 0x00, 0x10, or
0x20).
This fixes the column address for a few drivers which imitate the
nand_base defaults. Note that I don't touch sh_flctl.c, since it already
handles this problem slightly differently (note its comment "READID is
always performed using an 8-bit bus").
I have not tested this patch, as I only have x8 parts up for testing at
this point. Hopefully that can change soon...
Signed-off-by: Brian Norris <computersforpeace@gmail.com >
Tested-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com >
Tested-By: Pekon Gupta <pekon@ti.com >
2014-03-10 22:42:22 -07:00
..
2014-01-30 17:20:32 -08:00
2014-01-30 16:25:49 -08:00
2014-02-17 12:37:09 -08:00
2014-02-19 12:07:55 -07:00
2014-01-09 09:53:30 +09:00
2014-02-06 10:22:56 +01:00
2014-01-24 17:17:30 -08:00
2014-01-25 10:49:30 -08:00
2014-02-19 13:30:30 +00:00
2014-01-25 11:17:34 -08:00
2014-02-13 20:48:02 -08:00
2014-01-26 11:00:41 -08:00
2014-03-10 22:42:22 -07:00
2014-02-05 05:48:43 +00:00
2014-01-31 09:31:14 -08:00
2014-01-31 08:59:46 -08:00
2014-02-11 12:08:27 +00:00
2014-01-30 10:18:43 -08:00
2011-06-06 22:55:11 -07:00
2012-10-08 13:50:20 +10:30
2013-12-02 11:24:18 +00:00
2012-12-02 00:05:12 +00:00
2009-04-01 08:59:23 -07:00
2010-12-06 15:58:43 -05:00
2013-11-08 08:59:44 -07:00
2014-02-05 12:54:53 -08:00
2014-02-11 08:40:45 -07:00
2011-08-03 11:30:42 -04:00
2008-06-06 11:29:10 -07:00
2014-02-21 08:58:49 -08:00
2014-02-14 10:45:18 -08:00
2014-01-30 16:56:54 -08:00
2013-09-04 09:23:46 -04:00
2014-01-23 16:36:56 -08:00
2013-08-30 23:44:11 -07:00
2014-02-11 10:38:30 -05:00
2014-01-30 17:07:18 -08:00
2013-12-04 17:19:44 +01:00
2014-02-01 10:43:45 -08:00
2014-02-13 12:34:05 +01:00
2014-01-23 18:11:00 -08:00
2013-11-15 09:32:21 +09:00
2010-08-10 13:47:42 -07:00
2011-09-23 12:05:29 +05:30
2013-09-13 15:09:52 +02:00
2013-11-14 13:41:48 +09:00
2013-05-12 14:16:21 +02:00
2013-10-03 16:14:12 -07:00
2013-08-18 17:39:55 -07:00
2013-11-15 16:47:22 -08:00
2013-11-14 23:14:43 +01:00
2014-02-13 10:08:52 +05:30
2014-01-29 20:27:23 -08:00
2007-02-09 17:39:36 -05:00
2013-01-17 12:19:09 -08:00
2012-10-13 10:46:48 +01:00
2013-09-27 09:37:01 +09:00
2012-10-13 10:46:48 +01:00
2013-12-18 10:56:13 +10:00
2014-01-25 03:14:36 -05:00
2009-06-18 19:50:21 +08:00
2014-03-07 10:19:57 -05:00
2012-10-13 10:46:48 +01:00
2009-12-17 10:58:17 -05:00
2014-02-09 18:12:07 -08:00
2014-02-25 11:18:06 +01:00
2006-09-30 01:47:55 +02:00
2013-04-30 10:09:06 +02:00
2014-03-04 07:55:47 -08:00
2014-02-07 08:27:34 -08:00
2014-01-29 20:40:08 +01:00
2014-01-26 22:48:35 +01:00
2013-12-11 14:47:40 -05:00
2014-01-23 18:08:10 -08:00
2011-01-31 21:17:41 -08:00
2012-11-10 00:40:24 -08:00
2014-02-09 15:27:21 +01:00
2012-10-09 16:22:39 +09:00
2012-12-09 00:20:28 -05:00
2013-03-15 12:23:09 -07:00
2014-02-25 15:25:45 -08:00
2014-01-27 21:02:39 -08:00
2012-05-31 17:49:32 -07:00
2013-04-29 15:42:02 -04:00
2007-07-31 15:39:40 -07:00
2012-10-13 10:46:48 +01:00
2013-09-13 15:09:52 +02:00
2014-01-25 11:17:34 -08:00
2012-10-13 10:46:48 +01:00
2014-02-25 07:37:52 -08:00
2014-01-25 08:55:09 +01:00
2012-07-21 10:34:00 -07:00
2013-04-30 17:04:02 -07:00
2014-01-16 09:49:10 -05:00
2014-01-27 21:45:29 +01:00
2013-11-13 12:09:06 +09:00
2013-12-19 10:17:11 -07:00
2014-03-04 07:55:50 -08:00
2013-09-07 09:48:41 -07:00
2013-08-20 15:37:42 +09:30
2014-01-27 21:02:39 -08:00
2013-11-07 19:11:41 -05:00
2014-02-17 00:36:34 -05:00
2014-01-31 15:39:07 -08:00
2014-03-01 13:51:53 -06:00
2014-01-25 03:14:05 -05:00
2014-01-27 19:27:53 -05:00
2014-02-05 10:04:37 -06:00
2014-02-05 09:51:54 -06:00
2013-03-29 17:54:33 -07:00
2013-10-30 12:02:58 +08:00
2014-02-06 13:48:51 -08:00
2013-07-03 16:07:31 -07:00
2014-01-23 16:36:55 -08:00
2012-10-13 10:46:48 +01:00
2013-03-01 23:51:07 -05:00
2014-02-13 10:48:02 -07:00
2014-01-23 16:36:50 -08:00
2013-09-26 16:18:32 -07:00
2012-10-13 10:46:48 +01:00
2014-01-25 23:58:17 -05:00
2014-01-28 08:38:04 -08:00
2014-01-25 11:17:34 -08:00
2012-11-03 15:27:07 -04:00
2010-02-10 17:47:17 -08:00
2014-01-28 08:38:04 -08:00
2012-10-13 10:46:48 +01:00
2013-03-15 00:34:50 -04:00
2006-07-13 13:21:35 -07:00
2014-01-13 13:41:50 +01:00
2013-12-17 21:19:08 -08:00
2014-01-28 13:20:09 -08:00
2014-02-05 12:54:53 -08:00
2012-10-13 10:46:48 +01:00
2013-10-22 22:26:41 +11:00
2013-07-09 10:33:28 -07:00
2013-11-15 09:32:20 +09:00
2014-01-12 10:13:59 +01:00
2014-01-27 21:02:39 -08:00
2014-02-19 13:12:53 -05:00
2014-01-25 11:17:34 -08:00
2014-02-02 11:30:08 -08:00
2014-02-10 16:01:42 -08:00
2014-01-22 21:57:05 -08:00
2014-01-27 21:02:40 -08:00
2011-06-14 22:48:51 -04:00
2012-10-13 10:46:48 +01:00
2013-10-09 12:40:45 +02:00
2009-04-10 15:48:52 +02:00
2014-02-21 21:27:10 +01:00
2011-03-15 00:43:46 +01:00
2013-09-25 13:53:10 +02:00
2010-05-27 09:12:51 -07:00
2013-05-14 20:54:06 +02:00
2012-08-21 16:28:31 +02:00
2011-05-23 13:59:53 +02:00
2010-11-29 08:55:25 +11:00
2014-03-03 21:11:05 -05:00
2014-02-07 14:30:03 -08:00
2014-01-25 09:10:41 +01:00
2014-02-07 11:27:30 -08:00
2006-04-26 12:56:16 +01:00
2012-10-13 10:46:48 +01:00
2014-02-14 09:05:39 -05:00
2014-02-22 02:02:28 +01:00
2014-01-30 16:56:55 -08:00