diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-15 14:02:53 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-15 14:02:53 +0200 |
commit | 8881fb7984fb86469e0e66b88d8230be347e21f9 (patch) | |
tree | d8ebe4c3c5e8b2dd6f4be71dea425a60ea2d3c96 /include/boot.h | |
parent | 665291e693efd1fd2955c6f8bfb89956711b0aef (diff) | |
download | barebox-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.h | 14 |
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 */ |