blob: 71087404084ae75fdf85d3177d845e54cdd1be92 [file] [log] [blame]
Masahiro Yamada1f3d9c72015-02-05 14:42:54 +09001/*
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 Yamada95387e22015-02-27 02:26:44 +09008#include <mach/led.h>
9#include <mach/board.h>
Masahiro Yamada1f3d9c72015-02-05 14:42:54 +090010
11void pin_init(void);
Masahiro Yamadac04368f2015-02-27 02:26:51 +090012void clkrst_init(void);
Masahiro Yamada1f3d9c72015-02-05 14:42:54 +090013
14int board_early_init_f(void)
15{
16 led_write(U, 0, , );
17
18 pin_init();
19
20 led_write(U, 1, , );
21
Masahiro Yamadac04368f2015-02-27 02:26:51 +090022 clkrst_init();
23
24 led_write(U, 2, , );
25
Masahiro Yamada1f3d9c72015-02-05 14:42:54 +090026 return 0;
27}