X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=board%2Fbf537-minotaur%2Fbf537-minotaur.c;h=ca61ef97b860768065ac6ecf8a50621ea148b8bf;hb=3ea143abe957cd771582fcde33e5fb8096bd826e;hp=71b452a4f88825f625e4ba15796f910365da9c12;hpb=bec9cab9291bb221714d559a44fe37669a8ca604;p=oweals%2Fu-boot.git diff --git a/board/bf537-minotaur/bf537-minotaur.c b/board/bf537-minotaur/bf537-minotaur.c index 71b452a4f8..ca61ef97b8 100644 --- a/board/bf537-minotaur/bf537-minotaur.c +++ b/board/bf537-minotaur/bf537-minotaur.c @@ -12,7 +12,6 @@ #include #include #include -#include 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); + eth_random_addr(mac_addr); eth_setenv_enetaddr("ethaddr", mac_addr); }