]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/bf537-minotaur/bf537-minotaur.c
net: cosmetic: Name ethaddr variables consistently
[karo-tx-uboot.git] / board / bf537-minotaur / bf537-minotaur.c
index 71b452a4f88825f625e4ba15796f910365da9c12..71b4293ad62240474036224fbb6df9bbc9acc385 100644 (file)
@@ -12,7 +12,6 @@
 #include <netdev.h>
 #include <net.h>
 #include <asm/blackfin.h>
-#include <asm/net.h>
 
 DECLARE_GLOBAL_DATA_PTR;
 
@@ -23,18 +22,11 @@ int checkboard(void)
        return 0;
 }
 
-phys_size_t initdram(int board_type)
-{
-       gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
-       gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
-       return gd->bd->bi_memsize;
-}
-
 #ifdef CONFIG_BFIN_MAC
 static void board_init_enetaddr(uchar *mac_addr)
 {
        puts("Warning: Generating 'random' MAC address\n");
-       bfin_gen_rand_mac(mac_addr);
+       net_random_ethaddr(mac_addr);
        eth_setenv_enetaddr("ethaddr", mac_addr);
 }