summaryrefslogtreecommitdiff
path: root/board/siemens/IAD210/IAD210.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/siemens/IAD210/IAD210.c')
-rw-r--r--board/siemens/IAD210/IAD210.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/siemens/IAD210/IAD210.c b/board/siemens/IAD210/IAD210.c
index 67e5c8f..7325a93 100644
--- a/board/siemens/IAD210/IAD210.c
+++ b/board/siemens/IAD210/IAD210.c
@@ -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;