Mike Frysinger | cc24408 | 2008-10-12 21:25:33 -0400 | [diff] [blame] | 1 | /* |
| 2 | * U-boot - main board file |
| 3 | * |
| 4 | * Copyright (c) 2008 Analog Devices Inc. |
| 5 | * |
| 6 | * Licensed under the GPL-2 or later. |
| 7 | */ |
| 8 | |
| 9 | #include <common.h> |
Ben Warren | 0fd6aae | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 10 | #include <netdev.h> |
Mike Frysinger | cc24408 | 2008-10-12 21:25:33 -0400 | [diff] [blame] | 11 | #include <config.h> |
| 12 | #include <asm/blackfin.h> |
| 13 | |
| 14 | DECLARE_GLOBAL_DATA_PTR; |
| 15 | |
| 16 | int checkboard(void) |
| 17 | { |
| 18 | printf("Board: ADI BF538F EZ-Kit Lite board\n"); |
| 19 | printf(" Support: http://blackfin.uclinux.org/\n"); |
| 20 | return 0; |
| 21 | } |
| 22 | |
Ben Warren | 0fd6aae | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 23 | #ifdef CONFIG_SMC91111 |
| 24 | int board_eth_init(bd_t *bis) |
| 25 | { |
| 26 | return smc91111_initialize(0, CONFIG_SMC91111_BASE); |
| 27 | } |
| 28 | #endif |