Huang Shijie
f22d5f638b
mtd: add new fields to nand_flash_dev{}
...
As time goes on, we begin to meet the situation that we can not get enough
information from some nand chips's id data. Take some Toshiba's nand chips
for example. I have 4 Toshiba's nand chips in my hand:
TC58NVG2S0F, TC58NVG3S0F, TC58NVG5D2, TC58NVG6D2
When we read these chips' datasheets, we will get the geometry of these chips:
TC58NVG2S0F : 4096 + 224
TC58NVG3S0F : 4096 + 232
TC58NVG5D2 : 8192 + 640
TC58NVG6D2 : 8192 + 640
But we can not parse out the correct oob size for these chips from the id data.
This patch adds some new fields to the nand_flash_dev{}:
@id_len: the valid length of the id data. See the comments in
nand_id_has_period()
@oobsize: the oob size.
Signed-off-by: Huang Shijie <b32955@freescale.com >
Reviewed-by: Brian Norris <computersforpeace@gmail.com >
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com >
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com >
2013-04-05 13:20:29 +01:00
..
2013-02-26 09:24:48 -08:00
2013-03-02 16:33:54 -08:00
2013-02-26 15:03:06 -08:00
2013-02-21 15:27:22 -08:00
2013-03-01 13:39:00 -08:00
2013-03-08 16:03:29 -08:00
2013-03-02 16:31:21 +00:00
2013-02-20 11:00:43 -08:00
2013-03-03 12:06:09 -08:00
2013-02-28 18:02:55 -08:00
2013-03-12 09:29:20 +01:00
2013-02-26 11:41:08 -08:00
2013-02-24 14:37:22 -05:00
2013-04-05 13:20:29 +01:00
2013-02-26 17:24:26 -05:00
2013-04-05 12:57:18 +01:00
2013-03-01 06:07:22 +00:00
2013-02-22 09:20:11 -08:00
2013-02-21 12:11:44 -08:00
2013-03-02 16:46:07 -08:00
2013-03-05 13:15:00 +02:00
2013-03-02 09:34:39 -08:00
2013-02-21 17:22:19 -08:00
2013-03-01 12:47:16 +01:00
2013-02-26 02:46:13 -05:00
2013-02-23 17:50:12 -08:00
2013-02-20 09:37:28 -05:00
2013-02-21 17:22:16 -08:00
2013-02-23 17:50:10 -08:00
2013-02-25 09:24:55 -05:00
2013-02-21 17:22:15 -08:00
2013-02-21 17:22:15 -08:00
2013-02-21 17:22:15 -08:00
2013-02-21 17:22:16 -08:00
2013-02-25 16:46:44 -08:00
2013-02-26 02:46:09 -05:00
2013-02-27 19:10:11 -08:00
2013-03-01 22:45:49 +00:00
2013-02-21 12:05:51 -08:00
2013-03-01 22:45:49 +00:00
2013-02-27 15:13:36 +05:30
2013-02-27 22:37:34 +05:30
2013-02-28 09:53:21 +05:30
2013-03-03 23:59:59 -08:00
2013-02-21 14:16:27 -03:00
2013-02-21 09:38:18 -08:00
2013-02-28 12:52:24 -08:00
2013-02-26 02:46:08 -05:00
2013-02-27 19:10:23 -08:00
2013-02-23 17:50:12 -08:00
2013-02-27 19:10:11 -08:00
2013-03-01 23:51:07 -05:00
2013-03-03 19:36:31 -08:00
2013-02-22 23:31:31 -05:00
2013-02-26 03:10:52 +11:00
2013-02-22 00:05:07 +01:00
2013-02-27 19:10:24 -08:00
2013-02-22 08:20:05 +01:00
2013-02-21 10:45:01 +01:00
2013-02-23 17:50:16 -08:00
2013-02-23 17:50:17 -08:00
2013-02-26 20:16:07 -08:00
2013-03-13 15:21:47 -07:00
2013-02-27 19:10:24 -08:00
2013-02-23 21:00:06 -05:00
2013-02-27 19:10:21 -08:00
2013-02-23 17:50:19 -08:00
2013-02-24 13:07:18 -08:00
2013-03-14 13:18:30 -07:00
2013-02-22 19:25:09 -08:00
2013-02-20 19:36:01 +01:00
2013-03-02 09:34:39 -08:00
2013-02-23 17:50:20 -08:00
2013-02-23 17:50:13 -08:00
2013-02-23 17:50:19 -08:00
2013-02-23 17:50:17 -08:00
2013-03-03 12:06:09 -08:00
2013-02-23 17:50:11 -08:00
2013-02-23 17:50:20 -08:00
2013-03-02 16:46:07 -08:00
2013-02-23 00:30:08 +01:00
2013-02-23 17:50:17 -08:00
2013-02-23 17:50:15 -08:00
2013-02-21 17:22:19 -08:00
2013-03-01 23:51:07 -05:00
2013-02-28 20:42:33 -08:00
2013-02-25 21:18:18 -08:00
2013-03-17 15:59:15 -07:00
2013-02-27 19:10:24 -08:00
2013-02-23 17:50:16 -08:00
2013-02-23 17:50:16 -08:00
2013-02-21 12:05:51 -08:00
2013-02-21 17:38:49 -08:00
2013-02-21 13:41:04 -08:00
2013-02-26 09:34:29 -08:00
2013-02-27 19:10:24 -08:00
2013-03-13 15:21:44 -07:00
2013-02-23 17:50:17 -08:00
2013-02-21 12:05:51 -08:00
2013-02-27 19:10:10 -08:00
2013-02-27 19:10:11 -08:00
2013-02-21 17:22:20 -08:00
2013-02-26 22:25:17 +01:00
2013-03-01 12:40:36 +01:00
2013-02-23 17:50:22 -08:00
2013-02-21 14:58:40 -08:00
2013-02-23 17:50:15 -08:00
2013-02-23 17:50:16 -08:00
2013-03-01 12:48:36 +01:00