]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-uniphier/board_early_init_f.c
ARM: uniphier: refactor LED function
[u-boot] / arch / arm / mach-uniphier / board_early_init_f.c
1 /*
2  * Copyright (C) 2012-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #include <mach/micro-support-card.h>
8
9 void pin_init(void);
10 void clkrst_init(void);
11
12 int board_early_init_f(void)
13 {
14         led_puts("U0");
15
16         pin_init();
17
18         led_puts("U1");
19
20         clkrst_init();
21
22         led_puts("U2");
23
24         return 0;
25 }