Harald Krapfenbauer | 2aeda2d | 2010-01-13 09:04:53 -0500 | [diff] [blame] | 1 | /* |
Bin Meng | a187559 | 2016-02-05 19:30:11 -0800 | [diff] [blame] | 2 | * U-Boot - main board file |
Harald Krapfenbauer | 2aeda2d | 2010-01-13 09:04:53 -0500 | [diff] [blame] | 3 | * |
| 4 | * Copyright (c) 2008-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 <net.h> |
| 12 | #include <netdev.h> |
| 13 | #include <asm/blackfin.h> |
Harald Krapfenbauer | 2aeda2d | 2010-01-13 09:04:53 -0500 | [diff] [blame] | 14 | #include <asm/mach-common/bits/otp.h> |
| 15 | #include <asm/sdh.h> |
| 16 | |
| 17 | int checkboard(void) |
| 18 | { |
| 19 | printf("Board: Bluetechnix TCM-BF518 board\n"); |
| 20 | printf(" Support: http://www.bluetechnix.com/\n"); |
| 21 | printf(" http://blackfin.uclinux.org/\n"); |
| 22 | return 0; |
| 23 | } |
| 24 | |
| 25 | #if defined(CONFIG_BFIN_MAC) |
Harald Krapfenbauer | 2aeda2d | 2010-01-13 09:04:53 -0500 | [diff] [blame] | 26 | int board_eth_init(bd_t *bis) |
| 27 | { |
| 28 | return bfin_EMAC_initialize(bis); |
| 29 | } |
| 30 | #endif |
| 31 | |
Harald Krapfenbauer | 2aeda2d | 2010-01-13 09:04:53 -0500 | [diff] [blame] | 32 | #ifdef CONFIG_BFIN_SDH |
| 33 | int board_mmc_init(bd_t *bis) |
| 34 | { |
| 35 | return bfin_mmc_init(bis); |
| 36 | } |
| 37 | #endif |