Masahiro Yamada | 1f3d9c7 | 2015-02-05 14:42:54 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2012-2015 Panasonic Corporation |
| 3 | * Author: Masahiro Yamada <yamada.m@jp.panasonic.com> |
| 4 | * |
| 5 | * SPDX-License-Identifier: GPL-2.0+ |
| 6 | */ |
| 7 | |
Masahiro Yamada | 95387e2 | 2015-02-27 02:26:44 +0900 | [diff] [blame] | 8 | #include <mach/led.h> |
| 9 | #include <mach/board.h> |
Masahiro Yamada | 1f3d9c7 | 2015-02-05 14:42:54 +0900 | [diff] [blame] | 10 | |
| 11 | void pin_init(void); |
Masahiro Yamada | c04368f | 2015-02-27 02:26:51 +0900 | [diff] [blame] | 12 | void clkrst_init(void); |
Masahiro Yamada | 1f3d9c7 | 2015-02-05 14:42:54 +0900 | [diff] [blame] | 13 | |
| 14 | int board_early_init_f(void) |
| 15 | { |
| 16 | led_write(U, 0, , ); |
| 17 | |
| 18 | pin_init(); |
| 19 | |
| 20 | led_write(U, 1, , ); |
| 21 | |
Masahiro Yamada | c04368f | 2015-02-27 02:26:51 +0900 | [diff] [blame] | 22 | clkrst_init(); |
| 23 | |
| 24 | led_write(U, 2, , ); |
| 25 | |
Masahiro Yamada | 1f3d9c7 | 2015-02-05 14:42:54 +0900 | [diff] [blame] | 26 | return 0; |
| 27 | } |