]> git.sur5r.net Git - u-boot/commit
nand_spl: Support page-aligned read in nand_load, use chipselect
authorGuennadi Liakhovetski <lg@denx.de>
Wed, 6 Aug 2008 19:42:07 +0000 (21:42 +0200)
committerScott Wood <scottwood@freescale.com>
Tue, 12 Aug 2008 16:31:32 +0000 (11:31 -0500)
commitaa646643b6bc250cb3a4966bf728876e0c10d329
tree09af8a50c8ef75cbc17594ebc487c615de6494a8
parent4f32d7760a58fe73981b6edc0b0751565d2daa4c
nand_spl: Support page-aligned read in nand_load, use chipselect

Supporting page-aligned reads doesn't incure any sinificant overhead, just
a small change in the algorithm. Also replace in_8 with readb, since there
is no in_8 on ARM.

Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Scott Wood <scottwood@freescale.com>
nand_spl/nand_boot.c