blob: 15916fad64a631bc948a3c10df0dfa9dea59e7b8 [file] [log] [blame]
Mike Frysingercc244082008-10-12 21:25:33 -04001/*
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>
Ben Warren0fd6aae2009-10-04 22:37:03 -070010#include <netdev.h>
Mike Frysingercc244082008-10-12 21:25:33 -040011#include <config.h>
12#include <asm/blackfin.h>
13
14DECLARE_GLOBAL_DATA_PTR;
15
16int 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
23phys_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}
Ben Warren0fd6aae2009-10-04 22:37:03 -070029
30#ifdef CONFIG_SMC91111
31int board_eth_init(bd_t *bis)
32{
33 return smc91111_initialize(0, CONFIG_SMC91111_BASE);
34}
35#endif