diff options
author | Tom Rini <trini@konsulko.com> | 2015-05-20 15:57:55 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-05-20 15:57:55 -0400 |
commit | 3238639d40732fe78fd62ae5e080465552e882fc (patch) | |
tree | b9f0f8565adf69504faf56fc7032068573e5fabe /board/tcm-bf537/tcm-bf537.c | |
parent | cb0892b968e52fe0d09b4d51119d8f913685ed3c (diff) | |
parent | 76ec988b062ed880ab23d0e0d4e9e6c137b55cc3 (diff) |
Merge git://git.denx.de/u-boot-net
Diffstat (limited to 'board/tcm-bf537/tcm-bf537.c')
-rw-r--r-- | board/tcm-bf537/tcm-bf537.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/board/tcm-bf537/tcm-bf537.c b/board/tcm-bf537/tcm-bf537.c index 2531a44336..2cf70cab15 100644 --- a/board/tcm-bf537/tcm-bf537.c +++ b/board/tcm-bf537/tcm-bf537.c @@ -23,18 +23,6 @@ int checkboard(void) return 0; } -static void board_init_enetaddr(char *var) -{ - uchar enetaddr[6]; - - if (eth_getenv_enetaddr(var, enetaddr)) - return; - - printf("Warning: %s: generating 'random' MAC address\n", var); - net_random_ethaddr(enetaddr); - eth_setenv_enetaddr(var, enetaddr); -} - #ifndef CONFIG_BFIN_MAC # define bfin_EMAC_initialize(x) 1 #endif @@ -50,9 +38,6 @@ int board_eth_init(bd_t *bis) int misc_init_r(void) { - board_init_enetaddr("ethaddr"); - board_init_enetaddr("eth1addr"); - gpio_cfi_flash_init(); return 0; |