diff options
Diffstat (limited to 'pbl/decomp.c')
-rw-r--r-- | pbl/decomp.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pbl/decomp.c b/pbl/decomp.c index bd67ed81e1..aa6a31e9da 100644 --- a/pbl/decomp.c +++ b/pbl/decomp.c @@ -18,6 +18,18 @@ #include "../../../lib/decompress_inflate.c" #endif +#ifdef CONFIG_IMAGE_COMPRESSION_NONE +STATIC int decompress(u8 *input, int in_len, + int (*fill) (void *, unsigned int), + int (*flush) (void *, unsigned int), + u8 *output, int *posp, + void (*error) (char *x)) +{ + memcpy(output, input, in_len); + return 0; +} +#endif + static void noinline errorfn(char *error) { while (1); |