commit | 4f6e6d77f84d4f0e3b4f70c7aacafb9693c93525 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Dec 02 13:17:37 2014 -0700 |
committer | Tom Rini <trini@ti.com> | Wed Jan 14 11:35:43 2015 -0500 |
tree | b331103e31763702476855ac39203318129c928a | |
parent | 632570c5f7fc30a38c4197711b10d35fa3909485 [diff] |
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>