Re: [U-Boot] [PATCH] spl_mmc: allow to load raw image

2016-02-29 Thread Tom Rini
On Mon, Feb 29, 2016 at 08:31:57PM +0900, Masahiro Yamada wrote: > The function spl_parse_image_header() falls back to a raw image > if the U-Boot header is missing and CONFIG_SPL_PANIC_ON_RAW_IMAGE > is undefined. While, the bad magic checking here makes the > spl_parse_image_header() unreachabl

[U-Boot] [PATCH] spl_mmc: allow to load raw image

2016-02-29 Thread Masahiro Yamada
The function spl_parse_image_header() falls back to a raw image if the U-Boot header is missing and CONFIG_SPL_PANIC_ON_RAW_IMAGE is undefined. While, the bad magic checking here makes the spl_parse_image_header() unreachable in case of the missing header. Signed-off-by: Masahiro Yamada --- co