diff options
author | Jonas Gorski <jogo@openwrt.org> | 2014-08-01 21:56:31 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2014-08-01 21:56:31 +0000 |
commit | 701e2a38fef4fce862eaeb21fc97874a6387a569 (patch) | |
tree | ff25cf2649946ea51b35d435138362c84e8129e7 /target/linux/brcm63xx/image/lzma-loader/src/printf.h | |
parent | 21845cb45da7b6da12fe977b38bfa68d4f72d9c1 (diff) | |
download | mtk-20170518-701e2a38fef4fce862eaeb21fc97874a6387a569.zip mtk-20170518-701e2a38fef4fce862eaeb21fc97874a6387a569.tar.gz mtk-20170518-701e2a38fef4fce862eaeb21fc97874a6387a569.tar.bz2 |
brcm63xx: add working lzma-loader and use it for initramfs
Add a working lzma loader and use it for generating initramfs kernels
to allow easily netbooting elf kernels on devices with a 4 MiB CFE
size limit.
Based on ar71xx's lzma-loader.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 41940
Diffstat (limited to 'target/linux/brcm63xx/image/lzma-loader/src/printf.h')
-rw-r--r-- | target/linux/brcm63xx/image/lzma-loader/src/printf.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/image/lzma-loader/src/printf.h b/target/linux/brcm63xx/image/lzma-loader/src/printf.h new file mode 100644 index 0000000..9b1c1df --- /dev/null +++ b/target/linux/brcm63xx/image/lzma-loader/src/printf.h @@ -0,0 +1,18 @@ +/* + * Copyright (C) 2001 MontaVista Software Inc. + * Author: Jun Sun, jsun@mvista.com or jsun@junsun.net + * + * This program is free software; you can redistribute it and/or modify it + * under the terms of the GNU General Public License as published by the + * Free Software Foundation; either version 2 of the License, or (at your + * option) any later version. + * + */ + +#ifndef _printf_h_ +#define _printf_h_ + +#include <stdarg.h> +void printf(char *fmt, ...); + +#endif /* _printf_h_ */ |