summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-03-26 11:17:41 -0400
committerWolfgang Denk <wd@denx.de>2009-03-27 20:24:31 +0100
commit0baeca4b09b703728f8e66b52418039fd8f8ce35 (patch)
tree11b5e247835e82cfaf5f859209bb3aec5cd0d5f9
parent76756e41cde0a617e781a604cc47dfaef63697cd (diff)
downloadu-boot-imx-0baeca4b09b703728f8e66b52418039fd8f8ce35.zip
u-boot-imx-0baeca4b09b703728f8e66b52418039fd8f8ce35.tar.gz
u-boot-imx-0baeca4b09b703728f8e66b52418039fd8f8ce35.tar.bz2
karef/metrobox/xpedite1k: fix eth_setenv_enetaddr typos
The function is called "eth_setenv_enetaddr", not "eth_putenv_enetaddr". Signed-off-by: Mike Frysinger <vapier@gentoo.org> CC: Ben Warren <biggerbadderben@gmail.com>
-rw-r--r--board/sandburst/karef/karef.c8
-rw-r--r--board/sandburst/metrobox/metrobox.c8
-rw-r--r--board/xpedite1k/xpedite1k.c8
3 files changed, 12 insertions, 12 deletions
diff --git a/board/sandburst/karef/karef.c b/board/sandburst/karef/karef.c
index 55310d7..1ad1ae2 100644
--- a/board/sandburst/karef/karef.c
+++ b/board/sandburst/karef/karef.c
@@ -412,28 +412,28 @@ int misc_init_r (void)
#ifdef CONFIG_HAS_ETH0
if (!eth_getenv_enetaddr("ethaddr", enetaddr)) {
board_get_enetaddr(0, enetaddr);
- eth_putenv_enetaddr("ethaddr", enetaddr);
+ eth_setenv_enetaddr("ethaddr", enetaddr);
}
#endif
#ifdef CONFIG_HAS_ETH1
if (!eth_getenv_enetaddr("eth1addr", enetaddr)) {
board_get_enetaddr(1, enetaddr);
- eth_putenv_enetaddr("eth1addr", enetaddr);
+ eth_setenv_enetaddr("eth1addr", enetaddr);
}
#endif
#ifdef CONFIG_HAS_ETH2
if (!eth_getenv_enetaddr("eth2addr", enetaddr)) {
board_get_enetaddr(2, enetaddr);
- eth_putenv_enetaddr("eth2addr", enetaddr);
+ eth_setenv_enetaddr("eth2addr", enetaddr);
}
#endif
#ifdef CONFIG_HAS_ETH3
if (!eth_getenv_enetaddr("eth3addr", enetaddr)) {
board_get_enetaddr(3, enetaddr);
- eth_putenv_enetaddr("eth3addr", enetaddr);
+ eth_setenv_enetaddr("eth3addr", enetaddr);
}
#endif
diff --git a/board/sandburst/metrobox/metrobox.c b/board/sandburst/metrobox/metrobox.c
index 8bb8c02..bd6be3d 100644
--- a/board/sandburst/metrobox/metrobox.c
+++ b/board/sandburst/metrobox/metrobox.c
@@ -383,28 +383,28 @@ int misc_init_r (void)
#ifdef CONFIG_HAS_ETH0
if (!eth_getenv_enetaddr("ethaddr", enetaddr)) {
board_get_enetaddr(0, enetaddr);
- eth_putenv_enetaddr("ethaddr", enetaddr);
+ eth_setenv_enetaddr("ethaddr", enetaddr);
}
#endif
#ifdef CONFIG_HAS_ETH1
if (!eth_getenv_enetaddr("eth1addr", enetaddr)) {
board_get_enetaddr(1, enetaddr);
- eth_putenv_enetaddr("eth1addr", enetaddr);
+ eth_setenv_enetaddr("eth1addr", enetaddr);
}
#endif
#ifdef CONFIG_HAS_ETH2
if (!eth_getenv_enetaddr("eth2addr", enetaddr)) {
board_get_enetaddr(2, enetaddr);
- eth_putenv_enetaddr("eth2addr", enetaddr);
+ eth_setenv_enetaddr("eth2addr", enetaddr);
}
#endif
#ifdef CONFIG_HAS_ETH3
if (!eth_getenv_enetaddr("eth3addr", enetaddr)) {
board_get_enetaddr(3, enetaddr);
- eth_putenv_enetaddr("eth3addr", enetaddr);
+ eth_setenv_enetaddr("eth3addr", enetaddr);
}
#endif
diff --git a/board/xpedite1k/xpedite1k.c b/board/xpedite1k/xpedite1k.c
index cd1a368..92dc628 100644
--- a/board/xpedite1k/xpedite1k.c
+++ b/board/xpedite1k/xpedite1k.c
@@ -364,27 +364,27 @@ int misc_init_r(void)
if (!eth_getenv_enetaddr("ethaddr", enetaddr)) {
board_get_enetaddr(i2c_enetaddr);
- eth_putenv_enetaddr("ethaddr", i2c_enetaddr);
+ eth_setenv_enetaddr("ethaddr", i2c_enetaddr);
}
#ifdef CONFIG_HAS_ETH1
if (!eth_getenv_enetaddr("eth1addr", enetaddr)) {
board_get_enetaddr(i2c_enetaddr);
- eth_putenv_enetaddr("eth1addr", i2c_enetaddr);
+ eth_setenv_enetaddr("eth1addr", i2c_enetaddr);
}
#endif
#ifdef CONFIG_HAS_ETH2
if (!eth_getenv_enetaddr("eth2addr", enetaddr)) {
board_get_enetaddr(i2c_enetaddr);
- eth_putenv_enetaddr("eth2addr", i2c_enetaddr);
+ eth_setenv_enetaddr("eth2addr", i2c_enetaddr);
}
#endif
#ifdef CONFIG_HAS_ETH3
if (!eth_getenv_enetaddr("eth3addr", enetaddr)) {
board_get_enetaddr(i2c_enetaddr);
- eth_putenv_enetaddr("eth3addr", i2c_enetaddr);
+ eth_setenv_enetaddr("eth3addr", i2c_enetaddr);
}
#endif