wdenk | 5c952cf | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2004, Psyent Corporation <www.psyent.com> |
| 3 | * Scott McNutt <smcnutt@psyent.com> |
| 4 | * |
| 5 | * See file CREDITS for list of people who contributed to this |
| 6 | * project. |
| 7 | * |
| 8 | * This program is free software; you can redistribute it and/or |
| 9 | * modify it under the terms of the GNU General Public License as |
| 10 | * published by the Free Software Foundation; either version 2 of |
| 11 | * the License, or (at your option) any later version. |
| 12 | * |
| 13 | * This program is distributed in the hope that it will be useful, |
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | * GNU General Public License for more details. |
| 17 | * |
| 18 | * You should have received a copy of the GNU General Public License |
| 19 | * along with this program; if not, write to the Free Software |
| 20 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, |
| 21 | * MA 02111-1307 USA |
| 22 | */ |
| 23 | |
| 24 | #include <common.h> |
Ben Warren | 7194ab8 | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 25 | #include <netdev.h> |
wdenk | 5c952cf | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 26 | |
| 27 | int board_early_init_f (void) |
| 28 | { |
| 29 | return 0; |
| 30 | } |
| 31 | |
| 32 | int checkboard (void) |
| 33 | { |
| 34 | puts ("BOARD : Psyent PK-1C20\n"); |
| 35 | return 0; |
| 36 | } |
| 37 | |
Becky Bruce | 9973e3c | 2008-06-09 16:03:40 -0500 | [diff] [blame] | 38 | phys_size_t initdram (int board_type) |
wdenk | 5c952cf | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 39 | { |
| 40 | return (0); |
| 41 | } |
Ben Warren | 7194ab8 | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 42 | |
| 43 | #ifdef CONFIG_CMD_NET |
| 44 | int board_eth_init(bd_t *bis) |
| 45 | { |
| 46 | int rc = 0; |
| 47 | #ifdef CONFIG_SMC91111 |
| 48 | rc = smc91111_initialize(0, CONFIG_SMC91111_BASE); |
| 49 | #endif |
| 50 | return rc; |
| 51 | } |
| 52 | #endif |