commit | 1f54cbb2072a2ee98c021acd6042ddb06ca0ae58 | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Mon May 23 11:51:13 2016 -0400 |
committer | Tom Rini <trini@konsulko.com> | Mon May 23 11:51:13 2016 -0400 |
tree | be83b47399044d43e439256cd132407db9ed2ca1 | |
parent | d74ea960f591a397f0d46312f992d6e0ee0f6fb6 [diff] |
SPL: fat: Fix spl_parse_image_header() return value handling 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@denx.de> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Peng Fan <van.freenix@gmail.com> Reviewed-by: Stefano Babic <sbabic@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com>