printf: Remove unused 'bprintf'
[drm/drm-misc.git] / arch / mips / boot / compressed / decompress.h
blob073b64593b3d4cae441f39ce51fb734e5840bdc1
1 // SPDX-License-Identifier: GPL-2.0
2 #ifndef _DECOMPRESSOR_H
3 #define _DECOMPRESSOR_H
5 /* The linker tells us where the image is. */
6 extern unsigned char __image_begin[], __image_end[];
8 /* debug interfaces */
9 #ifdef CONFIG_DEBUG_ZBOOT
10 extern void putc(char c);
11 extern void puts(const char *s);
12 extern void puthex(unsigned long long val);
13 #else
14 #define putc(s) do {} while (0)
15 #define puts(s) do {} while (0)
16 #define puthex(val) do {} while (0)
17 #endif
19 extern char __appended_dtb[];
21 void error(char *x);
22 void decompress_kernel(unsigned long boot_heap_start);
24 #endif