mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-18 16:08:53 +09:00
31 lines
510 B
C
31 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
|