Guennadi Liakhovetski c3db8c649c NAND: Do not write or read a whole block if it is larger than the environment
Environment can be smaller than NAND block size, do not need to read a whole
block and minimum for writing is one page. Also remove an unused variable.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Scott Wood <scottwood@freescale.com>
2008-08-12 11:31:29 -05:00
..
2008-04-13 14:52:48 -07:00
2008-05-21 00:14:08 +02:00
2008-04-18 00:31:41 -07:00
2008-08-12 00:06:34 +02:00
2008-05-21 00:14:08 +02:00
2008-06-03 20:28:50 +02:00
2008-07-09 23:55:46 +02:00
2008-07-30 00:54:25 +02:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2008-08-12 11:31:28 -05:00
2008-05-21 00:14:08 +02:00
2008-03-25 22:16:15 +01:00
2008-06-03 20:32:25 +02:00
2008-06-03 20:28:50 +02:00
2008-05-21 00:14:08 +02:00
2008-04-24 17:21:55 +02:00
2008-08-12 11:31:19 -05:00
2008-05-21 00:14:08 +02:00
2008-05-21 00:14:08 +02:00
2006-07-21 11:56:05 +02:00
2008-07-31 11:21:15 +02:00
2003-06-27 21:31:46 +00:00
2008-05-21 00:14:08 +02:00
2008-04-13 14:52:48 -07:00
2008-08-12 00:06:34 +02:00
2008-05-21 00:14:08 +02:00
2008-02-07 01:12:56 +01:00
2008-08-12 11:31:19 -05:00
2002-08-17 09:36:01 +00:00
2008-06-03 20:28:50 +02:00
2008-04-13 14:52:48 -07:00
2008-05-21 00:14:08 +02:00
2006-08-31 16:46:53 +02:00