diff options
Diffstat (limited to 'arch/mips/boot/compressed/decompress.c')
-rw-r--r-- | arch/mips/boot/compressed/decompress.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/boot/compressed/decompress.c b/arch/mips/boot/compressed/decompress.c index 31903cf9709d..54831069a206 100644 --- a/arch/mips/boot/compressed/decompress.c +++ b/arch/mips/boot/compressed/decompress.c | |||
@@ -28,8 +28,13 @@ unsigned long free_mem_end_ptr; | |||
28 | extern unsigned char __image_begin, __image_end; | 28 | extern unsigned char __image_begin, __image_end; |
29 | 29 | ||
30 | /* debug interfaces */ | 30 | /* debug interfaces */ |
31 | #ifdef CONFIG_DEBUG_ZBOOT | ||
31 | extern void puts(const char *s); | 32 | extern void puts(const char *s); |
32 | extern void puthex(unsigned long long val); | 33 | extern void puthex(unsigned long long val); |
34 | #else | ||
35 | #define puts(s) do {} while (0) | ||
36 | #define puthex(val) do {} while (0) | ||
37 | #endif | ||
33 | 38 | ||
34 | void error(char *x) | 39 | void error(char *x) |
35 | { | 40 | { |