Yoshihiro Shimoda | b2b5e2b | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 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 | * |
Wolfgang Denk | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 13 | * SPDX-License-Identifier: GPL-2.0+ |
Yoshihiro Shimoda | b2b5e2b | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #include <common.h> |
| 17 | #include <asm/io.h> |
| 18 | #include <asm/processor.h> |
| 19 | |
| 20 | #define LED_BASE 0xB0800000 |
| 21 | |
| 22 | int checkboard(void) |
| 23 | { |
| 24 | puts("BOARD: Hitachi UL MS7720SE\n"); |
| 25 | return 0; |
| 26 | } |
| 27 | |
| 28 | int board_init(void) |
| 29 | { |
Yoshihiro Shimoda | b2b5e2b | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 30 | return 0; |
| 31 | } |
| 32 | |
Yoshihiro Shimoda | b2b5e2b | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 33 | void led_set_state(unsigned short value) |
| 34 | { |
| 35 | outw(value & 0xFF, LED_BASE); |
| 36 | } |