xref: /openbmc/u-boot/board/renesas/MigoR/migo_r.c (revision b08c8c48)
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  *
10  * SPDX-License-Identifier:	GPL-2.0+
11  */
12 
13 #include <common.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
43