]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/bf537-stamp/bf537-stamp.c
net: fec: remove obsolete FEC_MXC_MULTI
[karo-tx-uboot.git] / board / bf537-stamp / bf537-stamp.c
index 5fdf8379c08f02818e5356608fd145d5c4f36340..32045a9e47cb44651062a9041a6038d4a5c4aaca 100644 (file)
@@ -13,7 +13,6 @@
 #include <config.h>
 #include <command.h>
 #include <asm/blackfin.h>
-#include <asm/net.h>
 #include <net.h>
 #include <asm/mach-common/bits/bootrom.h>
 #include <netdev.h>
@@ -48,7 +47,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);