diff options
author | Marian Balakowicz <m8@semihalf.com> | 2008-01-08 18:12:17 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-02-07 01:12:57 +0100 |
commit | f13e7b2e993c61fed1f607962501e051940d6e80 (patch) | |
tree | 3894629f4d16c470f059ff4aa0d36e949103b79d /lib_blackfin | |
parent | 1ee1180b6e93e56d0282ac8d943e448e9d0eab20 (diff) | |
download | u-boot-imx-f13e7b2e993c61fed1f607962501e051940d6e80.zip u-boot-imx-f13e7b2e993c61fed1f607962501e051940d6e80.tar.gz u-boot-imx-f13e7b2e993c61fed1f607962501e051940d6e80.tar.bz2 |
[new uImage] Cleanup image header pointer use in bootm code
- use single image header pointer instead of a set of auxilliary variables.
- add multi component image helper routines: get component size/data address
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
Diffstat (limited to 'lib_blackfin')
-rw-r--r-- | lib_blackfin/bf533_linux.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib_blackfin/bf533_linux.c b/lib_blackfin/bf533_linux.c index 26c6534..6299415 100644 --- a/lib_blackfin/bf533_linux.c +++ b/lib_blackfin/bf533_linux.c @@ -42,17 +42,15 @@ extern void swap_to(int device_id); #endif -extern image_header_t header; extern void flush_instruction_cache(void); extern void flush_data_cache(void); static char *make_command_line(void); void do_bootm_linux(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[], - ulong addr, ulong * len_ptr, int verify) + image_header_t *hdr, int verify) { int (*appl) (char *cmdline); char *cmdline; - image_header_t *hdr = &header; #ifdef SHARED_RESOURCES swap_to(FLASH); |