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