blob: 98fb45fdb8203c17b57ce9a5f65940e50d141704 [file] [log] [blame]
Daniel Hellstrom69403832008-03-26 23:34:47 +01001/*
2 * (C) Copyright 2008
3 * Daniel Hellstrom, daniel@gaisler.com.
4 *
Wolfgang Denk1a459662013-07-08 09:37:19 +02005 * SPDX-License-Identifier: GPL-2.0+
Daniel Hellstrom69403832008-03-26 23:34:47 +01006 */
7
8#include <common.h>
Ben Warren7194ab82009-10-04 22:37:03 -07009#include <netdev.h>
Daniel Hellstrom69403832008-03-26 23:34:47 +010010#include <config.h>
11#include <asm/leon.h>
12
Becky Bruce9973e3c2008-06-09 16:03:40 -050013phys_size_t initdram(int board_type)
Daniel Hellstrom69403832008-03-26 23:34:47 +010014{
15 return 1;
16}
17
18int checkboard(void)
19{
20 puts("Board: EP2S60 GRLIB\n");
21 return 0;
22}
23
24int misc_init_r(void)
25{
26 return 0;
27}
Ben Warren7194ab82009-10-04 22:37:03 -070028
29#ifdef CONFIG_CMD_NET
30int board_eth_init(bd_t *bis)
31{
32 int rc = 0;
33#ifdef CONFIG_SMC91111
34 rc = smc91111_initialize(0, CONFIG_SMC91111_BASE);
35#endif
36 return rc;
37}
38#endif