Skip to content
Snippets Groups Projects
Commit c3db8c64 authored by Guennadi Liakhovetski's avatar Guennadi Liakhovetski Committed by Scott Wood
Browse files

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: default avatarGuennadi Liakhovetski <lg@denx.de>
Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
parent eafcabd1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment