]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/bf538f-ezkit/bf538f-ezkit.c
Merge branch 'master' of git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / board / bf538f-ezkit / bf538f-ezkit.c
1 /*
2  * U-boot - main board file
3  *
4  * Copyright (c) 2008 Analog Devices Inc.
5  *
6  * Licensed under the GPL-2 or later.
7  */
8
9 #include <common.h>
10 #include <netdev.h>
11 #include <config.h>
12 #include <asm/blackfin.h>
13
14 DECLARE_GLOBAL_DATA_PTR;
15
16 int checkboard(void)
17 {
18         printf("Board: ADI BF538F EZ-Kit Lite board\n");
19         printf("       Support: http://blackfin.uclinux.org/\n");
20         return 0;
21 }
22
23 phys_size_t initdram(int board_type)
24 {
25         gd->bd->bi_memstart = CONFIG_SYS_SDRAM_BASE;
26         gd->bd->bi_memsize = CONFIG_SYS_MAX_RAM_SIZE;
27         return gd->bd->bi_memsize;
28 }
29
30 #ifdef CONFIG_SMC91111
31 int board_eth_init(bd_t *bis)
32 {
33         return smc91111_initialize(0, CONFIG_SMC91111_BASE);
34 }
35 #endif