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>
This commit is contained in:
Heiko Schocher
2009-03-26 07:33:59 +01:00
committed by Wolfgang Denk
parent 81005758bc
commit 76756e41cd
11 changed files with 16 additions and 10 deletions

View File

@@ -23,6 +23,7 @@
#include <common.h>
#include <mpc8xx.h>
#include <net.h>
#include "atm.h"
#include <i2c.h>
@@ -291,7 +292,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;