summaryrefslogtreecommitdiff
path: root/board/ip04
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-05-04 19:55:15 (GMT)
committerJoe Hershberger <joe.hershberger@ni.com>2015-05-20 16:07:27 (GMT)
commit76ec988b062ed880ab23d0e0d4e9e6c137b55cc3 (patch)
tree9f97bb7d62c2c8114f688c512e6169f105db1fba /board/ip04
parent92ac520821405e196c920d60921bdfa5ab6b878c (diff)
downloadu-boot-76ec988b062ed880ab23d0e0d4e9e6c137b55cc3.tar.xz
net: Remove all calls to net_random_ethaddr()
Remove the calls to net_random_ethaddr() that some boards and some drivers are calling. This is now implemented inside of net/eth.c Enable the feature for all boards that previously enabled it. Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Acked-By: Michael Walle <michael@walle.cc> (for the lsxl board part) Series-changes: 2 -Fixed bfin build errors
Diffstat (limited to 'board/ip04')
-rw-r--r--board/ip04/ip04.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/board/ip04/ip04.c b/board/ip04/ip04.c
index d20500f..70765bc 100644
--- a/board/ip04/ip04.c
+++ b/board/ip04/ip04.c
@@ -26,16 +26,4 @@ int board_eth_init(bd_t *bis)
{
return dm9000_initialize(bis);
}
-
-int misc_init_r(void)
-{
- uchar enetaddr[6];
- if (!eth_getenv_enetaddr("ethaddr", enetaddr)) {
- puts("Warning: Generating 'random' MAC address\n");
- net_random_ethaddr(enetaddr);
- eth_setenv_enetaddr("ethaddr", enetaddr);
- }
-
- return 0;
-}
#endif