summaryrefslogtreecommitdiffstats
path: root/board/tcm-bf518/tcm-bf518.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/tcm-bf518/tcm-bf518.c')
-rw-r--r--board/tcm-bf518/tcm-bf518.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/board/tcm-bf518/tcm-bf518.c b/board/tcm-bf518/tcm-bf518.c
index 5964059dd1..5d25fcd0a9 100644
--- a/board/tcm-bf518/tcm-bf518.c
+++ b/board/tcm-bf518/tcm-bf518.c
@@ -11,7 +11,6 @@
#include <net.h>
#include <netdev.h>
#include <asm/blackfin.h>
-#include <asm/net.h>
#include <asm/mach-common/bits/otp.h>
#include <asm/sdh.h>
@@ -47,7 +46,7 @@ static void board_init_enetaddr(uchar *mac_addr)
if (!valid_mac) {
puts("Warning: Generating 'random' MAC address\n");
- bfin_gen_rand_mac(mac_addr);
+ eth_random_addr(mac_addr);
}
eth_setenv_enetaddr("ethaddr", mac_addr);
OpenPOWER on IntegriCloud