summaryrefslogtreecommitdiffstats
path: root/include/boot.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-01-09 10:15:35 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-01-14 12:36:03 +0100
commit76ccd96f4a92c028ea531a098b58356208b0815b (patch)
tree5971a9c383bb12d7d2a2e5e01dc07b96f011de5b /include/boot.h
parent1984af4f28bdabc88881ec8d04eea039855b62e4 (diff)
downloadbarebox-76ccd96f4a92c028ea531a098b58356208b0815b.tar.gz
barebox-76ccd96f4a92c028ea531a098b58356208b0815b.tar.xz
bootm: introduce bootm_load_initrd helper
Make the bootm handlers simpler by factoring out an initrd load function. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/boot.h')
-rw-r--r--include/boot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/boot.h b/include/boot.h
index 61ab5d0a4a..0cb2949415 100644
--- a/include/boot.h
+++ b/include/boot.h
@@ -109,6 +109,7 @@ static inline int linux_bootargs_overwrite(const char *bootargs)
#endif
int bootm_load_os(struct image_data *data, unsigned long load_address);
+int bootm_load_initrd(struct image_data *data, unsigned long load_address);
#define UIMAGE_SOME_ADDRESS (UIMAGE_INVALID_ADDRESS - 1)