[Feature][T106]ZXW P56U09 code
Only Configure: Yes
Affected branch: master
Affected module: unknow
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: No
Doc Update: No
Change-Id: I3cbd8b420271eb20c2b40ebe5c78f83059cd42f3
diff --git a/boot/common/src/uboot/compress/decompress.c b/boot/common/src/uboot/compress/decompress.c
new file mode 100644
index 0000000..4fba1b5
--- /dev/null
+++ b/boot/common/src/uboot/compress/decompress.c
@@ -0,0 +1,6 @@
+#include "gnuzip.h"
+
+int do_decompress(u8 *input, int len, u8 *output, void (*error)(char *x))
+{
+ return gunzip(input, len, NULL, NULL, output, NULL, error);
+}