aboutsummaryrefslogtreecommitdiff
path: root/board/RPXClassic
diff options
context:
space:
mode:
authorHeiko Schocher2009-03-26 07:33:59 +0100
committerWolfgang Denk2009-03-27 20:23:32 +0100
commit76756e41cde0a617e781a604cc47dfaef63697cd (patch)
treeee420c570683bba74d8987244fff05d979bfdd9f /board/RPXClassic
parent81005758bc62cfb50683fb1958bfef571b1e9752 (diff)
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/RPXClassic')
-rw-r--r--board/RPXClassic/RPXClassic.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/RPXClassic/RPXClassic.c b/board/RPXClassic/RPXClassic.c
index 5aa713fa0be..c3d5385f42e 100644
--- a/board/RPXClassic/RPXClassic.c
+++ b/board/RPXClassic/RPXClassic.c
@@ -30,6 +30,7 @@
#include <i2c.h>
#include <config.h>
#include <mpc8xx.h>
+#include <net.h>
/* ------------------------------------------------------------------------- */
@@ -151,7 +152,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;