Daniel Hellstrom | 6940383 | 2008-03-26 23:34:47 +0100 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2008 |
| 3 | * Daniel Hellstrom, daniel@gaisler.com. |
| 4 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Daniel Hellstrom | 6940383 | 2008-03-26 23:34:47 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include <common.h> |
Ben Warren | 7194ab8 | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 9 | #include <netdev.h> |
Daniel Hellstrom | 6940383 | 2008-03-26 23:34:47 +0100 | [diff] [blame] | 10 | #include <config.h> |
| 11 | #include <asm/leon.h> |
| 12 | |
Becky Bruce | 9973e3c | 2008-06-09 16:03:40 -0500 | [diff] [blame] | 13 | phys_size_t initdram(int board_type) |
Daniel Hellstrom | 6940383 | 2008-03-26 23:34:47 +0100 | [diff] [blame] | 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 | } |
Ben Warren | 7194ab8 | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 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 |