diff options
author | Heiko Schocher <hs@denx.de> | 2009-03-26 07:33:59 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-03-27 20:23:32 +0100 |
commit | 76756e41cde0a617e781a604cc47dfaef63697cd (patch) | |
tree | ee420c570683bba74d8987244fff05d979bfdd9f /common/cmd_elf.c | |
parent | 81005758bc62cfb50683fb1958bfef571b1e9752 (diff) | |
download | u-boot-imx-76756e41cde0a617e781a604cc47dfaef63697cd.zip u-boot-imx-76756e41cde0a617e781a604cc47dfaef63697cd.tar.gz u-boot-imx-76756e41cde0a617e781a604cc47dfaef63697cd.tar.bz2 |
ppc: cleanup compiler errors/warnings
Current u-boot top of tree builds with warnings/errors for
the following boards:
ads5121 cpci5200 mecp5200 v38b IAD210 MBX MBX860T NX823
RPXClassic debris PN62
following patch solves this.
Signed-off-by: Heiko Schocher <hs@denx.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/cmd_elf.c')
-rw-r--r-- | common/cmd_elf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_elf.c b/common/cmd_elf.c index 4a3fff1..83e7589 100644 --- a/common/cmd_elf.c +++ b/common/cmd_elf.c @@ -131,11 +131,11 @@ int do_bootvx (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) #if defined(CONFIG_WALNUT) tmp = (char *) CONFIG_SYS_NVRAM_BASE_ADDR + 0x500; - eth_getenv_enetaddr("ethaddr", build_buf); + eth_getenv_enetaddr("ethaddr", (uchar *)build_buf); memcpy(tmp, &build_buf[3], 3); #elif defined(CONFIG_SYS_VXWORKS_MAC_PTR) tmp = (char *) CONFIG_SYS_VXWORKS_MAC_PTR; - eth_getenv_enetaddr("ethaddr", build_buf); + eth_getenv_enetaddr("ethaddr", (uchar *)build_buf); memcpy(tmp, build_buf, 6); #else puts ("## Ethernet MAC address not copied to NV RAM\n"); |