From cf917f051e579d29098e6b334a4ef0ffde59f0fb Mon Sep 17 00:00:00 2001 From: Peter Mamonov Date: Tue, 11 Jun 2019 13:18:33 +0300 Subject: pbl: report decompression failure Signed-off-by: Peter Mamonov Signed-off-by: Sascha Hauer --- pbl/decomp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pbl') 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 #include +#include #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); } -- cgit v1.2.3