blob: 7923eae5d51a57bddda01e66c54250a3c1ada7f1 [file] [log] [blame]
Harald Krapfenbauer2aeda2d2010-01-13 09:04:53 -05001/*
Bin Menga1875592016-02-05 19:30:11 -08002 * U-Boot - main board file
Harald Krapfenbauer2aeda2d2010-01-13 09:04:53 -05003 *
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 Krapfenbauer2aeda2d2010-01-13 09:04:53 -050014#include <asm/mach-common/bits/otp.h>
15#include <asm/sdh.h>
16
17int 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 Krapfenbauer2aeda2d2010-01-13 09:04:53 -050026int board_eth_init(bd_t *bis)
27{
28 return bfin_EMAC_initialize(bis);
29}
30#endif
31
Harald Krapfenbauer2aeda2d2010-01-13 09:04:53 -050032#ifdef CONFIG_BFIN_SDH
33int board_mmc_init(bd_t *bis)
34{
35 return bfin_mmc_init(bis);
36}
37#endif