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 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
wdenk | 5c952cf | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include <common.h> |
Ben Warren | 7194ab8 | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 9 | #include <netdev.h> |
wdenk | 5c952cf | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 10 | |
| 11 | int board_early_init_f (void) |
| 12 | { |
| 13 | return 0; |
| 14 | } |
| 15 | |
| 16 | int checkboard (void) |
| 17 | { |
| 18 | puts ("BOARD : Psyent PK-1C20\n"); |
| 19 | return 0; |
| 20 | } |
| 21 | |
Becky Bruce | 9973e3c | 2008-06-09 16:03:40 -0500 | [diff] [blame] | 22 | phys_size_t initdram (int board_type) |
wdenk | 5c952cf | 2004-10-10 21:27:30 +0000 | [diff] [blame] | 23 | { |
| 24 | return (0); |
| 25 | } |
Ben Warren | 7194ab8 | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 26 | |
| 27 | #ifdef CONFIG_CMD_NET |
| 28 | int board_eth_init(bd_t *bis) |
| 29 | { |
| 30 | int rc = 0; |
| 31 | #ifdef CONFIG_SMC91111 |
| 32 | rc = smc91111_initialize(0, CONFIG_SMC91111_BASE); |
| 33 | #endif |
| 34 | return rc; |
| 35 | } |
| 36 | #endif |