]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/tcm-bf518/tcm-bf518.c
karo: fdt: fix panel-dpi support
[karo-tx-uboot.git] / board / tcm-bf518 / tcm-bf518.c
1 /*
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>
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)
26 int board_eth_init(bd_t *bis)
27 {
28         return bfin_EMAC_initialize(bis);
29 }
30 #endif
31
32 #ifdef CONFIG_BFIN_SDH
33 int board_mmc_init(bd_t *bis)
34 {
35         return bfin_mmc_init(bis);
36 }
37 #endif