Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
goda.yusuke | fd76807 | 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 | fd76807 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #include <common.h> |
Simon Glass | 9758973 | 2020-05-10 11:40:02 -0600 | [diff] [blame] | 13 | #include <init.h> |
Simon Glass | 274e0b0 | 2020-05-10 11:39:56 -0600 | [diff] [blame] | 14 | #include <net.h> |
Ben Warren | 0fd6aae | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 15 | #include <netdev.h> |
goda.yusuke | fd76807 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 16 | #include <asm/io.h> |
| 17 | #include <asm/processor.h> |
| 18 | |
| 19 | int checkboard(void) |
| 20 | { |
| 21 | puts("BOARD: Renesas MigoR\n"); |
| 22 | return 0; |
| 23 | } |
| 24 | |
| 25 | int board_init(void) |
| 26 | { |
goda.yusuke | fd76807 | 2008-01-25 20:46:36 +0900 | [diff] [blame] | 27 | return 0; |
| 28 | } |
| 29 | |
| 30 | void led_set_state (unsigned short value) |
| 31 | { |
| 32 | } |
Ben Warren | 0fd6aae | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 33 | |
| 34 | #ifdef CONFIG_CMD_NET |
Masahiro Yamada | f7ed78b | 2020-06-26 15:13:33 +0900 | [diff] [blame] | 35 | int board_eth_init(struct bd_info *bis) |
Ben Warren | 0fd6aae | 2009-10-04 22:37:03 -0700 | [diff] [blame] | 36 | { |
| 37 | int rc = 0; |
| 38 | #ifdef CONFIG_SMC91111 |
| 39 | rc = smc91111_initialize(0, CONFIG_SMC91111_BASE); |
| 40 | #endif |
| 41 | return rc; |
| 42 | } |
| 43 | #endif |