blob: f21a015e42c8e7db2e2d19f296e3d5da2855613e [file] [log] [blame]
Mike Frysingere5483212008-10-12 21:45:05 -04001/*
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>
Ben Warren7194ab82009-10-04 22:37:03 -070010#include <netdev.h>
Mike Frysingere5483212008-10-12 21:45:05 -040011
12DECLARE_GLOBAL_DATA_PTR;
13
14int 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
21phys_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}
Ben Warren7194ab82009-10-04 22:37:03 -070027
28#ifdef CONFIG_SMC91111
29int board_eth_init(bd_t *bis)
30{
31 return smc91111_initialize(0, CONFIG_SMC91111_BASE);
32}
33#endif