[U-Boot] SPL: fat: Fix spl_parse_image_header() return value handling

Tom Rini trini at konsulko.com
Tue May 24 00:14:32 CEST 2016


On Fri, May 20, 2016 at 01:45:24AM +0200, Marek Vasut wrote:

> The spl_parse_image_header() can return 0 and it is not an error.
> Only treat non-zero return value as an error.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Fabio Estevam <fabio.estevam at nxp.com>
> Cc: Peng Fan <van.freenix at gmail.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Tom Rini <trini at konsulko.com>
> Reviewed-by: Fabio Estevam <fabio.estevam at nxp.com>
> Reviewed-by: Peng Fan <van.freenix at gmail.com>
> Reviewed-by: Stefano Babic <sbabic at denx.de>
> Reviewed-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160523/13cf210b/attachment.sig>


More information about the U-Boot mailing list