]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/bct-brettl2/bct-brettl2.c
sunxi_nand_spl: Parametrize lowlevel read functions
[karo-tx-uboot.git] / board / bct-brettl2 / bct-brettl2.c
index 6be9b180159e53a815087c937acfa00f393b6f8e..bf7cd62954bd457fb56a1c24fa4ea9cbd7b159aa 100644 (file)
@@ -29,13 +29,6 @@ int checkboard(void)
 }
 
 #ifdef CONFIG_BFIN_MAC
-static void board_init_enetaddr(uchar *mac_addr)
-{
-       puts("Warning: Generating 'random' MAC address\n");
-       eth_random_addr(mac_addr);
-       eth_setenv_enetaddr("ethaddr", mac_addr);
-}
-
 int board_eth_init(bd_t *bis)
 {
        int retry = 3;
@@ -107,12 +100,6 @@ static void turn_leds_off(void)
 /* miscellaneous platform dependent initialisations */
 int misc_init_r(void)
 {
-#ifdef CONFIG_BFIN_MAC
-       uchar enetaddr[6];
-       if (!eth_getenv_enetaddr("ethaddr", enetaddr))
-               board_init_enetaddr(enetaddr);
-#endif
-
        gpio_cfi_flash_init();
        init_tlv320aic31();
        init_mute_pin();