commit | eac6cd6cc31d3f7ce1691827459106e0af833d5d | [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 | 4c1a9c54abd5e5bce42aa73a249a9f628fe2b74b [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>