Marek Vasut ce80ddc180 NAND: Make page, erase, oob size available via cmd_nand
The "nand info" and "nand device" now set shell/environment variables:
	nand_writesize ... nand page size
	nand_oobsize ..... nand oob area size
	nand_erasesize ... nand erase block size

Also, the "nand info" command now displays this info.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Detlev Zundel <dzu@denx.de>
[scottwood@freescale.com: removed unnecessary memsets]
Signed-off-by: Scott Wood <scottwood@freescale.com>
2011-10-03 18:35:12 -05:00
..
2011-04-13 15:56:39 -04:00
2010-11-28 21:58:24 +01:00
2011-07-28 16:32:50 +02:00
2010-07-24 20:54:46 +02:00
2011-08-04 23:34:02 +02:00
2011-08-01 15:19:40 +02:00
2011-04-13 15:57:00 -04:00
2011-07-28 16:32:50 +02:00
2011-04-08 00:44:27 -04:00
2011-07-28 16:41:06 +02:00
2011-10-01 23:26:36 +02:00
2011-01-09 18:06:50 +01:00
2011-04-29 03:20:01 -05:00
2011-07-15 20:29:22 -05:00
2010-12-17 14:32:12 -06:00
2010-07-16 10:55:09 -05:00
2011-07-26 14:10:14 +02:00
2011-07-26 14:10:14 +02:00
2010-10-12 23:31:10 +02:00
2011-10-01 23:34:21 +02:00
2011-07-28 17:22:53 +02:00
2011-07-26 16:34:41 +02:00
2011-07-26 16:34:22 +02:00
2011-07-26 16:34:22 +02:00
2011-04-13 19:43:28 +10:00
2011-02-02 22:36:10 +01:00
2011-09-07 21:46:39 +02:00
2010-01-18 00:23:00 +01:00
2011-10-01 23:26:35 +02:00
2011-07-28 17:22:53 +02:00
2011-09-04 11:36:22 +02:00
2011-09-04 23:27:52 +02:00