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 /board/mbx8xx | |
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 'board/mbx8xx')
-rw-r--r-- | board/mbx8xx/mbx8xx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/mbx8xx/mbx8xx.c b/board/mbx8xx/mbx8xx.c index a3bf1f7..255796b 100644 --- a/board/mbx8xx/mbx8xx.c +++ b/board/mbx8xx/mbx8xx.c @@ -34,6 +34,7 @@ #include <common.h> #include <commproc.h> #include <mpc8xx.h> +#include <net.h> #include "dimm.h" #include "vpd.h" #include "csr.h" @@ -257,7 +258,7 @@ int misc_init_r(void) if (!eth_getenv_enetaddr("ethaddr", enetaddr)) { board_get_enetaddr(enetaddr); - eth_putenv_enetaddr("ethaddr", enetaddr); + eth_setenv_enetaddr("ethaddr", enetaddr); } return 0; |