]> git.sur5r.net Git - u-boot/commit
spl: nand: read only in the size of image_header on the first access
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 10 Jul 2014 11:43:16 +0000 (20:43 +0900)
committerTom Rini <trini@ti.com>
Tue, 22 Jul 2014 11:44:25 +0000 (07:44 -0400)
commitc13bb167578f716e38828cf9ca0bb38173da5a1d
treee6dd0bc0d5feb5f21abdb2f44569ba16b5a76e1e
parent949bbd7c867026e7f8ecb71abe6ebd113eda84d2
spl: nand: read only in the size of image_header on the first access

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@jp.panasonic.com>
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: Scott Wood <scottwood@freescale.com>
Cc: Stefano Babic <sbabic@denx.de>
common/spl/spl_nand.c