]> git.ipfire.org Git - people/ms/u-boot.git/blob - board/gaisler/gr_cpci_ax2000/gr_cpci_ax2000.c
4ceb48b09d825caa377616c7b3422f9c047b4c03
[people/ms/u-boot.git] / board / gaisler / gr_cpci_ax2000 / gr_cpci_ax2000.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 int initdram(void)
14 {
15 /* Does not set gd->ram_size here */
16
17 return 0;
18 }
19
20 int checkboard(void)
21 {
22 puts("Board: GR-CPCI-AX2000\n");
23 return 0;
24 }
25
26 int misc_init_r(void)
27 {
28 return 0;
29 }
30
31 #ifdef CONFIG_CMD_NET
32 int board_eth_init(bd_t *bis)
33 {
34 int rc = 0;
35 #ifdef CONFIG_SMC91111
36 rc = smc91111_initialize(0, CONFIG_SMC91111_BASE);
37 #endif
38 return rc;
39 }
40 #endif