summaryrefslogtreecommitdiffstats
path: root/include/boot.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-15 14:02:53 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2007-07-15 14:02:53 +0200
commit8881fb7984fb86469e0e66b88d8230be347e21f9 (patch)
treed8ebe4c3c5e8b2dd6f4be71dea425a60ea2d3c96 /include/boot.h
parent665291e693efd1fd2955c6f8bfb89956711b0aef (diff)
downloadbarebox-8881fb7984fb86469e0e66b88d8230be347e21f9.tar.gz
barebox-8881fb7984fb86469e0e66b88d8230be347e21f9.tar.xz
use memmap() to save one memcpy call in bootm
Diffstat (limited to 'include/boot.h')
-rw-r--r--include/boot.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/include/boot.h b/include/boot.h
index 09d4ce6314..889773bc2c 100644
--- a/include/boot.h
+++ b/include/boot.h
@@ -2,21 +2,11 @@
#define __BOOT_H
#ifdef CONFIG_OF_FLAT_TREE
-int do_bootm_linux(image_header_t *os, image_header_t *initrd,
+int do_bootm_linux(struct image_handle *os, struct image_handle *initrd,
const char *oftree);
#else
-int do_bootm_linux(image_header_t *os, image_header_t *initrd);
+int do_bootm_linux(struct image_handle *os, struct image_handle *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 */