Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Yoshihiro Shimoda | b2b5e2b | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2007 |
| 4 | * Yoshihiro Shimoda <shimoda.yoshihiro@renesas.com> |
| 5 | * |
| 6 | * Copyright (C) 2007 |
| 7 | * Nobuhiro Iwamatsu <iwamatsu@nigauri.org> |
| 8 | * |
| 9 | * Copyright (C) 2007 |
| 10 | * Kenati Technologies, Inc. |
| 11 | * |
| 12 | * board/ms7720se/ms7720se.c |
Yoshihiro Shimoda | b2b5e2b | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 13 | */ |
| 14 | |
| 15 | #include <common.h> |
| 16 | #include <asm/io.h> |
| 17 | #include <asm/processor.h> |
| 18 | |
| 19 | #define LED_BASE 0xB0800000 |
| 20 | |
| 21 | int checkboard(void) |
| 22 | { |
| 23 | puts("BOARD: Hitachi UL MS7720SE\n"); |
| 24 | return 0; |
| 25 | } |
| 26 | |
| 27 | int board_init(void) |
| 28 | { |
Yoshihiro Shimoda | b2b5e2b | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 29 | return 0; |
| 30 | } |
| 31 | |
Yoshihiro Shimoda | b2b5e2b | 2007-12-03 22:58:50 +0900 | [diff] [blame] | 32 | void led_set_state(unsigned short value) |
| 33 | { |
| 34 | outw(value & 0xFF, LED_BASE); |
| 35 | } |