]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/gaisler/gr_cpci_ax2000/gr_cpci_ax2000.c
Add GPL-2.0+ SPDX-License-Identifier to source files
[people/ms/u-boot.git] / board / gaisler / gr_cpci_ax2000 / gr_cpci_ax2000.c
CommitLineData
6ed8a43a
DH
1/*
2 * (C) Copyright 2008
3 * Daniel Hellstrom, daniel@gaisler.com.
4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
6ed8a43a
DH
6 */
7
8#include <common.h>
7194ab80 9#include <netdev.h>
6ed8a43a
DH
10#include <config.h>
11#include <asm/leon.h>
12
9973e3c6 13phys_size_t initdram(int board_type)
6ed8a43a
DH
14{
15 return 1;
16}
17
18int checkboard(void)
19{
20 puts("Board: GR-CPCI-AX2000\n");
21 return 0;
22}
23
24int misc_init_r(void)
25{
26 return 0;
27}
7194ab80
BW
28
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