diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2012-08-03 15:55:53 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-08-03 15:55:53 +0200 |
commit | b859e325e928d19d5cfefa9a45c4ff1ebe502430 (patch) | |
tree | ef2618ff621f30d90394871c5e187b365fae9fec /lib | |
parent | 21ea2ad83046f154cca68a48aaa063911d5641e4 (diff) | |
parent | 1d861eb2a6384495261122f183842fcd8a8e059e (diff) | |
download | barebox-b859e325e928d19d5cfefa9a45c4ff1ebe502430.tar.gz barebox-b859e325e928d19d5cfefa9a45c4ff1ebe502430.tar.xz |
Merge tag 'pbl' of git://git.jcrosoft.org/barebox into for-next/pbl
Add pre-bootloader (pbl) image support
This allows for creating a pre-bootloader binary for
- nand boot
- mmc boot
- compressed image
Currently on the compressed image is implemented the boot really on current lowlevel
init support. In a second step this could be move to the pbl c code with generic framework.
The pbl will be incharge of the lowlevel init if needed.
The barebox will skip it.
The decompressor support lzo and gzip and allow to add easly more.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/decompress_inflate.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/decompress_inflate.c b/lib/decompress_inflate.c index 526d6a173..5c1ebb685 100644 --- a/lib/decompress_inflate.c +++ b/lib/decompress_inflate.c @@ -4,6 +4,7 @@ /* prevent inclusion of _LINUX_KERNEL_H in pre-boot environment: lots * errors about console_printk etc... on ARM */ #define _LINUX_KERNEL_H +#include <linux/decompress/mm.h> #include "zlib_inflate/inftrees.c" #include "zlib_inflate/inffast.c" |