commit | c13bb167578f716e38828cf9ca0bb38173da5a1d | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | Thu Jul 10 20:43:16 2014 +0900 |
committer | Tom Rini <trini@ti.com> | Tue Jul 22 07:44:25 2014 -0400 |
tree | e6dd0bc0d5feb5f21abdb2f44569ba16b5a76e1e | |
parent | 949bbd7c867026e7f8ecb71abe6ebd113eda84d2 [diff] |
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>