diff options
author | Peter Mamonov <pmamonov@gmail.com> | 2019-06-11 13:18:33 +0300 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-06-13 08:25:56 +0200 |
commit | cf917f051e579d29098e6b334a4ef0ffde59f0fb (patch) | |
tree | 20b20dab9ee6fd8d53ac3e148f9143ba8e937859 /pbl | |
parent | 5c88c98d524ff9cd7f7fb0fe4782c508917346ec (diff) | |
download | barebox-cf917f051e579d29098e6b334a4ef0ffde59f0fb.tar.gz barebox-cf917f051e579d29098e6b334a4ef0ffde59f0fb.tar.xz |
pbl: report decompression failure
Signed-off-by: Peter Mamonov <pmamonov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'pbl')
-rw-r--r-- | pbl/decomp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pbl/decomp.c b/pbl/decomp.c index c8014c403f..72a162309a 100644 --- a/pbl/decomp.c +++ b/pbl/decomp.c @@ -7,6 +7,7 @@ #include <common.h> #include <pbl.h> +#include <debug_ll.h> #define STATIC static @@ -40,6 +41,9 @@ STATIC int decompress(u8 *input, int in_len, static void noinline errorfn(char *error) { + puts_ll("ERROR: "); + puts_ll(error); + puts_ll("\nHANG\n"); while (1); } |