diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-10-12 06:02:55 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-01-28 13:27:28 -0500 |
commit | fe033ad6d0883063fe857237abb9436fab03208c (patch) | |
tree | e635372f14fe4e287311d6e75fd3ada63b7b41e0 /common/cmd_bootldr.c | |
parent | 1f4a3bb50343719c434d7e2541a2f86480a6d25c (diff) | |
download | u-boot-imx-fe033ad6d0883063fe857237abb9436fab03208c.zip u-boot-imx-fe033ad6d0883063fe857237abb9436fab03208c.tar.gz u-boot-imx-fe033ad6d0883063fe857237abb9436fab03208c.tar.bz2 |
Blackfin: fixup misc warnings such as printf's and missing casts
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/cmd_bootldr.c')
-rw-r--r-- | common/cmd_bootldr.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/cmd_bootldr.c b/common/cmd_bootldr.c index 423b09d..48d113f 100644 --- a/common/cmd_bootldr.c +++ b/common/cmd_bootldr.c @@ -64,8 +64,6 @@ static void ldr_load(uint8_t *base_addr) /*defined(__ADSPBF534__) || defined(__ADSPBF536__) || defined(__ADSPBF537__) ||*/\ defined(__ADSPBF538__) || defined(__ADSPBF539__) || defined(__ADSPBF561__) - void *ret; - uint32_t addr; uint32_t count; uint16_t flags; @@ -126,7 +124,7 @@ static void ldr_exec(void *addr) #elif defined(__ADSPBF531__) || defined(__ADSPBF532__) || defined(__ADSPBF533__) || \ defined(__ADSPBF538__) || defined(__ADSPBF539__) || defined(__ADSPBF561__) - void (*ldr_entry)(void) = bfin_read_EVT1(); + void (*ldr_entry)(void) = (void *)bfin_read_EVT1(); ldr_entry(); #else |