diff options
author | Simon Glass <sjg@chromium.org> | 2016-07-03 09:40:44 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-14 18:22:37 -0400 |
commit | 1152a05ee6593bf3036337cd18edd355589ea3a8 (patch) | |
tree | 49b12a9b92c0df2cdc2711bb41ffbba471331c9f /include/configs/dragonboard410c.h | |
parent | 655cc69655f058e0354d5db4179c92d2ac0081ba (diff) | |
download | u-boot-imx-1152a05ee6593bf3036337cd18edd355589ea3a8.zip u-boot-imx-1152a05ee6593bf3036337cd18edd355589ea3a8.tar.gz u-boot-imx-1152a05ee6593bf3036337cd18edd355589ea3a8.tar.bz2 |
tools: Correct error handling in fit_image_process_hash()
We should not be returning -1 as an error code. This can mask a situation
where we run out of space adding things to the FIT. By returning the correct
error in this case (-ENOSPC) it can be handled by the higher-level code.
This may fix the error reported by Tom Van Deun here:
https://www.mail-archive.com/u-boot@lists.denx.de/msg217417.html
although I am not sure as I cannot actually repeat it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Tom Van Deun <tom.vandeun@wapice.com>
Reviewed-by: Teddy Reed <teddy.reed@gmail.com>
Diffstat (limited to 'include/configs/dragonboard410c.h')
0 files changed, 0 insertions, 0 deletions