commit | 0c40ae94af401785c9abc71335155e7dd15fced9 | [log] [tgz] |
---|---|---|
author | Guennadi Liakhovetski <lg@denx.de> | Thu Jul 31 12:38:26 2008 +0200 |
committer | Scott Wood <scottwood@freescale.com> | Tue Aug 12 11:31:29 2008 -0500 |
tree | 3e49b8c2e7c66422b4538a34bbc557c57df2c511 | |
parent | f30a2aa94f4e66e24110a2e17035246efc8174ee [diff] |
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>