From 78867e2bbd066df7d56e281e03a8cdbe82adf4e4 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sat, 28 Jul 2012 01:25:56 +0800 Subject: Add pre-bootloader (pbl) image support This allows for creating a pre-bootloader binary for - nand boot - mmc boot - compressed image The pbl will be incharge of the lowlevel init if needed. The barebox will skip it. Import string functions from linux 3.4 (arch/arm/boot/compressed/string.c) and implement a dummy panic. For now on introduce dummy zbarebox* targets and c code that will contain later the decompressor. This only implemeted on ARM. This patch is based on Sascha Hauer Add compressed image support patch Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- pbl/misc.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 pbl/misc.c (limited to 'pbl/misc.c') diff --git a/pbl/misc.c b/pbl/misc.c new file mode 100644 index 0000000000..47e9ceabe3 --- /dev/null +++ b/pbl/misc.c @@ -0,0 +1,14 @@ +#include +#include +#include +#include +#include + +void __noreturn panic(const char *fmt, ...) +{ + while(1); +} + +void start_barebox(void) +{ +} -- cgit v1.2.3