]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/bct-brettl2/bct-brettl2.c
Merge remote-tracking branch 'u-boot/master' into test
[karo-tx-uboot.git] / board / bct-brettl2 / bct-brettl2.c
index de5b9ff0e7594dadcbfa933243cb1aec7f57a4fa..6be9b180159e53a815087c937acfa00f393b6f8e 100644 (file)
@@ -12,7 +12,6 @@
 #include <asm/blackfin.h>
 #include <asm/portmux.h>
 #include <asm/gpio.h>
-#include <asm/net.h>
 #include <net.h>
 #include <netdev.h>
 #include <miiphy.h>
@@ -33,7 +32,7 @@ int checkboard(void)
 static void board_init_enetaddr(uchar *mac_addr)
 {
        puts("Warning: Generating 'random' MAC address\n");
-       bfin_gen_rand_mac(mac_addr);
+       eth_random_addr(mac_addr);
        eth_setenv_enetaddr("ethaddr", mac_addr);
 }