xref: /OK3568_Linux_fs/u-boot/board/ms7720se/ms7720se.c (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /*
2  * Copyright (C) 2007
3  * Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
4  *
5  * Copyright (C) 2007
6  * Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7  *
8  * Copyright (C) 2007
9  * Kenati Technologies, Inc.
10  *
11  * board/ms7720se/ms7720se.c
12  *
13  * SPDX-License-Identifier:	GPL-2.0+
14  */
15 
16 #include <common.h>
17 #include <asm/io.h>
18 #include <asm/processor.h>
19 
20 #define LED_BASE	0xB0800000
21 
checkboard(void)22 int checkboard(void)
23 {
24 	puts("BOARD: Hitachi UL MS7720SE\n");
25 	return 0;
26 }
27 
board_init(void)28 int board_init(void)
29 {
30 	return 0;
31 }
32 
led_set_state(unsigned short value)33 void led_set_state(unsigned short value)
34 {
35 	outw(value & 0xFF, LED_BASE);
36 }
37