summaryrefslogtreecommitdiffstats
path: root/lib_blackfin
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2008-01-08 18:12:17 +0100
committerWolfgang Denk <wd@denx.de>2008-02-07 01:12:57 +0100
commitf13e7b2e993c61fed1f607962501e051940d6e80 (patch)
tree3894629f4d16c470f059ff4aa0d36e949103b79d /lib_blackfin
parent1ee1180b6e93e56d0282ac8d943e448e9d0eab20 (diff)
downloadbootable_bootloader_goldelico_gta04-f13e7b2e993c61fed1f607962501e051940d6e80.zip
bootable_bootloader_goldelico_gta04-f13e7b2e993c61fed1f607962501e051940d6e80.tar.gz
bootable_bootloader_goldelico_gta04-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.c4
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);