summaryrefslogtreecommitdiffstats
path: root/include/pbl.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2013-01-28 10:26:11 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2013-01-30 22:32:13 +0100
commitf73a37aa7845cdf7e2bf7aba0184e065dca78198 (patch)
tree55c18f6090f0086b4fe05ed98a9edac6cdf71f1b /include/pbl.h
parent36db2a0f05f8dab8c8c38e47b5112dbb89a47781 (diff)
downloadbarebox-f73a37aa7845cdf7e2bf7aba0184e065dca78198.tar.gz
barebox-f73a37aa7845cdf7e2bf7aba0184e065dca78198.tar.xz
pbl: factorise decompressor
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/pbl.h')
-rw-r--r--include/pbl.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/pbl.h b/include/pbl.h
new file mode 100644
index 0000000000..d041a3fbad
--- /dev/null
+++ b/include/pbl.h
@@ -0,0 +1,15 @@
+/*
+ * Copyright (c) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
+ *
+ * Under GPLv2
+ */
+
+#ifndef __PBL_H__
+#define __PBL_H__
+
+extern unsigned long free_mem_ptr;
+extern unsigned long free_mem_end_ptr;
+
+void pbl_barebox_uncompress(void *dest, void *compressed_start, unsigned int len);
+
+#endif /* __PBL_H__ */