blob: 4348678aebcd86daa05ef1d5df3cca778519c76a [file] [log] [blame]
Harald Krapfenbauer5e6362c2010-01-13 09:04:53 -05001/*
2 * U-boot - main board file
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 Krapfenbauer5e6362c2010-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 Krapfenbauer5e6362c2010-01-13 09:04:53 -050026int board_eth_init(bd_t *bis)
27{
28 return bfin_EMAC_initialize(bis);
29}
30#endif
31
Harald Krapfenbauer5e6362c2010-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