[U-Boot] spl: nand: read only in the size of image_header on the first access

Tom Rini trini at ti.com
Tue Jul 22 21:22:29 CEST 2014


On Thu, Jul 10, 2014 at 08:43:16PM +0900, Masahiro Yamada wrote:

> For the same reason as in commit 50c8d66d, all the remaining
> CONFIG_SYS_NAND_PAGE_SIZE in common/spl/spl_nand.c can be replaced
> with sizeof(*header).
> 
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Cc: Tim Harvey <tharvey at gateworks.com>
> Cc: Scott Wood <scottwood at freescale.com>
> Cc: Stefano Babic <sbabic at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140722/61c2764c/attachment.pgp>


More information about the U-Boot mailing list