u-boot/board/bf537-srv1/bf537-srv1.c
Joe Hershberger 76ec988b06 net: Remove all calls to net_random_ethaddr()
Remove the calls to net_random_ethaddr() that some boards and some
drivers are calling. This is now implemented inside of net/eth.c

Enable the feature for all boards that previously enabled it.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-By: Michael Walle <michael@walle.cc> (for the lsxl board part)

Series-changes: 2
-Fixed bfin build errors
2015-05-20 11:07:27 -05:00

30 lines
510 B
C

/*
* U-boot - main board file
*
* Copyright (c) 2005-2009 Analog Devices Inc.
*
* Licensed under the GPL-2 or later.
*/
#include <common.h>
#include <config.h>
#include <command.h>
#include <netdev.h>
#include <net.h>
#include <asm/blackfin.h>
DECLARE_GLOBAL_DATA_PTR;
int checkboard(void)
{
printf("Board: Surveyor SRV1 board\n");
printf(" Support: http://www.surveyor.com/\n");
return 0;
}
#ifdef CONFIG_BFIN_MAC
int board_eth_init(bd_t *bis)
{
return bfin_EMAC_initialize(bis);
}
#endif