Mike Frysinger | 22e89bf | 2008-10-12 23:08:03 -0400 | [diff] [blame] | 1 | /* |
Bin Meng | 7557405 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 2 | * U-Boot - main board file |
Mike Frysinger | 22e89bf | 2008-10-12 23:08:03 -0400 | [diff] [blame] | 3 | * |
| 4 | * Copyright (c) 2005-2009 Analog Devices Inc. |
| 5 | * |
| 6 | * Licensed under the GPL-2 or later. |
| 7 | */ |
| 8 | |
| 9 | #include <common.h> |
| 10 | #include <config.h> |
| 11 | #include <command.h> |
| 12 | #include <netdev.h> |
| 13 | #include <net.h> |
| 14 | #include <asm/blackfin.h> |
Mike Frysinger | 22e89bf | 2008-10-12 23:08:03 -0400 | [diff] [blame] | 15 | |
| 16 | DECLARE_GLOBAL_DATA_PTR; |
| 17 | |
| 18 | int checkboard(void) |
| 19 | { |
| 20 | printf("Board: ADI BF537 PNAV board\n"); |
| 21 | printf(" Support: http://blackfin.uclinux.org/\n"); |
| 22 | return 0; |
| 23 | } |
| 24 | |
Mike Frysinger | 22e89bf | 2008-10-12 23:08:03 -0400 | [diff] [blame] | 25 | #ifdef CONFIG_BFIN_MAC |
Mike Frysinger | 22e89bf | 2008-10-12 23:08:03 -0400 | [diff] [blame] | 26 | int board_eth_init(bd_t *bis) |
| 27 | { |
| 28 | return bfin_EMAC_initialize(bis); |
| 29 | } |
| 30 | #endif |