blob: 7241c6d1a4a28a6970886c03af25aa68999cd525 [file] [log] [blame]
Daniel Hellstrom69403832008-03-26 23:34:47 +01001/*
2 * (C) Copyright 2008
3 * Daniel Hellstrom, daniel@gaisler.com.
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
18 * MA 02111-1307 USA
19 */
20
21#include <common.h>
Ben Warren7194ab82009-10-04 22:37:03 -070022#include <netdev.h>
Daniel Hellstrom69403832008-03-26 23:34:47 +010023#include <config.h>
24#include <asm/leon.h>
25
Becky Bruce9973e3c2008-06-09 16:03:40 -050026phys_size_t initdram(int board_type)
Daniel Hellstrom69403832008-03-26 23:34:47 +010027{
28 return 1;
29}
30
31int checkboard(void)
32{
33 puts("Board: EP2S60 GRLIB\n");
34 return 0;
35}
36
37int misc_init_r(void)
38{
39 return 0;
40}
Ben Warren7194ab82009-10-04 22:37:03 -070041
42#ifdef CONFIG_CMD_NET
43int board_eth_init(bd_t *bis)
44{
45 int rc = 0;
46#ifdef CONFIG_SMC91111
47 rc = smc91111_initialize(0, CONFIG_SMC91111_BASE);
48#endif
49 return rc;
50}
51#endif