blob: ab0bf3bf6598e5f9e00e85425d01c93f0499470c [file] [log] [blame]
Mike Frysinger9768ab92008-10-12 21:36:22 -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 Warren0fd6aae2009-10-04 22:37:03 -070010#include <netdev.h>
Mike Frysinger9768ab92008-10-12 21:36:22 -040011
12DECLARE_GLOBAL_DATA_PTR;
13
14int checkboard(void)
15{
16 printf("Board: Bluetechnix CM-BF533 board\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 Warren0fd6aae2009-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