]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/cm-bf561/cm-bf561.c
Merge branch 'master' of git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / board / cm-bf561 / cm-bf561.c
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>
10 #include <netdev.h>
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
21 phys_size_t initdram(int board_type)
22 {
23         gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
24         gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
25         return gd->bd->bi_memsize;
26 }
27
28 #ifdef CONFIG_SMC91111
29 int board_eth_init(bd_t *bis)
30 {
31         return smc91111_initialize(0, CONFIG_SMC91111_BASE);
32 }
33 #endif