]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/gaisler/gr_ep2s60/gr_ep2s60.c
Merge git://git.denx.de/u-boot-arm
[karo-tx-uboot.git] / board / gaisler / gr_ep2s60 / gr_ep2s60.c
1 /*
2  * (C) Copyright 2008
3  * Daniel Hellstrom, daniel@gaisler.com.
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 #include <common.h>
9 #include <netdev.h>
10 #include <config.h>
11 #include <asm/leon.h>
12
13 phys_size_t initdram(int board_type)
14 {
15         return 1;
16 }
17
18 int checkboard(void)
19 {
20         puts("Board: EP2S60 GRLIB\n");
21         return 0;
22 }
23
24 int misc_init_r(void)
25 {
26         return 0;
27 }
28
29 #ifdef CONFIG_CMD_NET
30 int 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