blob: f2f4c657534f4afdc1e43e08c3047639e9ed1397 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
goda.yusukec2042f52008-01-25 20:46:36 +09002/*
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.yusukec2042f52008-01-25 20:46:36 +090010 */
11
12#include <common.h>
Simon Glass691d7192020-05-10 11:40:02 -060013#include <init.h>
Simon Glass90526e92020-05-10 11:39:56 -060014#include <net.h>
Ben Warren7194ab82009-10-04 22:37:03 -070015#include <netdev.h>
goda.yusukec2042f52008-01-25 20:46:36 +090016#include <asm/io.h>
17#include <asm/processor.h>
18
19int checkboard(void)
20{
21 puts("BOARD: Renesas MigoR\n");
22 return 0;
23}
24
25int board_init(void)
26{
27 return 0;
28}
29
goda.yusukec2042f52008-01-25 20:46:36 +090030void led_set_state (unsigned short value)
31{
32}
Ben Warren7194ab82009-10-04 22:37:03 -070033
34#ifdef CONFIG_CMD_NET
Masahiro Yamadab75d8dc2020-06-26 15:13:33 +090035int board_eth_init(struct bd_info *bis)
Ben Warren7194ab82009-10-04 22:37:03 -070036{
37 int rc = 0;
38#ifdef CONFIG_SMC91111
39 rc = smc91111_initialize(0, CONFIG_SMC91111_BASE);
40#endif
41 return rc;
42}
43#endif