summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-12-02 13:17:37 -0700
committerTom Rini <trini@ti.com>2015-01-14 11:35:43 -0500
commit3086c055a073049dcfb1f01bc5c682bd947a1caa (patch)
treeb331103e31763702476855ac39203318129c928a /lib
parent8fd6a4b514c9828f0c2de92f5c89a3c84458e13f (diff)
downloadu-boot-imx-3086c055a073049dcfb1f01bc5c682bd947a1caa.zip
u-boot-imx-3086c055a073049dcfb1f01bc5c682bd947a1caa.tar.gz
u-boot-imx-3086c055a073049dcfb1f01bc5c682bd947a1caa.tar.bz2
bootm: Factor out common parts of image decompression code
Adjust the code so that the error reporting can all be done at the end, and is the same for each decompression method. Try to detect when decompression fails due to lack of space. Keep the behaviour of resetting on failure even though there should be no memory corruption now. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions