diff options
Diffstat (limited to 'board/v38b/v38b.c')
-rw-r--r-- | board/v38b/v38b.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/v38b/v38b.c b/board/v38b/v38b.c index 9e7c1d7e55..978ff8db00 100644 --- a/board/v38b/v38b.c +++ b/board/v38b/v38b.c @@ -26,6 +26,7 @@ #include <common.h> #include <mpc5xxx.h> +#include <net.h> #include <asm/processor.h> @@ -230,7 +231,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; |