Mike Frysinger | 6c79dea | 2008-10-12 21:45:05 -0400 | [diff] [blame] | 1 | /* |
| 2 | * U-boot - main board file |
| 3 | * |
| 4 | * Copyright (c) 2005-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 | 6c79dea | 2008-10-12 21:45:05 -0400 | [diff] [blame] | 11 | |
| 12 | DECLARE_GLOBAL_DATA_PTR; |
| 13 | |
| 14 | int checkboard(void) |
| 15 | { |
| 16 | printf("Board: Bluetechnix CM-BF561 core module\n"); |
| 17 | printf(" Support: http://www.bluetechnix.at/\n"); |
| 18 | return 0; |
| 19 | } |
| 20 | |
Harald Krapfenbauer | 784dcb6 | 2010-01-22 17:15:55 -0500 | [diff] [blame] | 21 | #ifdef CONFIG_SMC911X |
Ben Warren | 0fd6aae | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 22 | int board_eth_init(bd_t *bis) |
| 23 | { |
Harald Krapfenbauer | 784dcb6 | 2010-01-22 17:15:55 -0500 | [diff] [blame] | 24 | return smc911x_initialize(0, CONFIG_SMC911X_BASE); |
Ben Warren | 0fd6aae | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 25 | } |
| 26 | #endif |