summaryrefslogtreecommitdiffstats
path: root/include/boot.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:02:11 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:02:11 +0200
commit56828684a26e58cd809fe52f514f22e1244e3c52 (patch)
tree6ced819d8708344b6b5e2e8eb80adf2c92530f82 /include/boot.h
parentadfd4533a4ccd5a7f54ef330e0cd30c05bb353a7 (diff)
downloadbarebox-56828684a26e58cd809fe52f514f22e1244e3c52.tar.gz
barebox-56828684a26e58cd809fe52f514f22e1244e3c52.tar.xz
svn_rev_625
Diffstat (limited to 'include/boot.h')
-rw-r--r--include/boot.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/boot.h b/include/boot.h
new file mode 100644
index 0000000000..09d4ce6314
--- /dev/null
+++ b/include/boot.h
@@ -0,0 +1,22 @@
+#ifndef __BOOT_H
+#define __BOOT_H
+
+#ifdef CONFIG_OF_FLAT_TREE
+int do_bootm_linux(image_header_t *os, image_header_t *initrd,
+ const char *oftree);
+#else
+int do_bootm_linux(image_header_t *os, image_header_t *initrd);
+#endif
+
+#endif /* __BOOT_H */
+#ifndef __BOOT_H
+#define __BOOT_H
+
+#ifdef CONFIG_OF_FLAT_TREE
+int do_bootm_linux(image_header_t *os, image_header_t *initrd,
+ const char *oftree);
+#else
+int do_bootm_linux(image_header_t *os, image_header_t *initrd);
+#endif
+
+#endif /* __BOOT_H */