3ffd9ad75d1d410a105393f4df29f192718f86ce
[pandora-u-boot.git] / board / renesas / MigoR / migo_r.c
1 // SPDX-License-Identifier: GPL-2.0+
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
10  */
11
12 #include <common.h>
13 #include <net.h>
14 #include <netdev.h>
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
29 void led_set_state (unsigned short value)
30 {
31 }
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