]> git.dujemihanovic.xyz Git - u-boot.git/commit
bootm: Factor out common parts of image decompression code
authorSimon Glass <sjg@chromium.org>
Tue, 2 Dec 2014 20:17:37 +0000 (13:17 -0700)
committerTom Rini <trini@ti.com>
Wed, 14 Jan 2015 16:35:43 +0000 (11:35 -0500)
commit3086c055a073049dcfb1f01bc5c682bd947a1caa
treeb331103e31763702476855ac39203318129c928a
parent8fd6a4b514c9828f0c2de92f5c89a3c84458e13f
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>
common/bootm.c