goda.yusuke | c2042f5 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2007 |
| 3 | * Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
| 4 | * |
| 5 | * Copyright (C) 2007 |
| 6 | * Kenati Technologies, Inc. |
| 7 | * |
| 8 | * board/MigoR/migo_r.c |
| 9 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 10 | * SPDX-License-Identifier: GPL-2.0+ |
goda.yusuke | c2042f5 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 11 | */ |
| 12 | |
| 13 | #include <common.h> |
Ben Warren | 7194ab8 | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 14 | #include <netdev.h> |
goda.yusuke | c2042f5 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 15 | #include <asm/io.h> |
| 16 | #include <asm/processor.h> |
| 17 | |
| 18 | int checkboard(void) |
| 19 | { |
| 20 | puts("BOARD: Renesas MigoR\n"); |
| 21 | return 0; |
| 22 | } |
| 23 | |
| 24 | int board_init(void) |
| 25 | { |
| 26 | return 0; |
| 27 | } |
| 28 | |
goda.yusuke | c2042f5 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 29 | void led_set_state (unsigned short value) |
| 30 | { |
| 31 | } |
Ben Warren | 7194ab8 | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 32 | |
| 33 | #ifdef CONFIG_CMD_NET |
| 34 | int board_eth_init(bd_t *bis) |
| 35 | { |
| 36 | int rc = 0; |
| 37 | #ifdef CONFIG_SMC91111 |
| 38 | rc = smc91111_initialize(0, CONFIG_SMC91111_BASE); |
| 39 | #endif |
| 40 | return rc; |
| 41 | } |
| 42 | #endif |