]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-uniphier/board_early_init_f.c
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
[u-boot] / arch / arm / mach-uniphier / board_early_init_f.c
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
8 #include <mach/led.h>
9 #include <mach/board.h>
10
11 void pin_init(void);
12 void clkrst_init(void);
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
22         clkrst_init();
23
24         led_write(U, 2, , );
25
26         return 0;
27 }