]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-uniphier/init/init-sld3.c
cosmetic: Fix typos "privide"
[u-boot] / arch / arm / mach-uniphier / init / init-sld3.c
1 /*
2  * Copyright (C) 2013-2015 Masahiro Yamada <yamada.masahiro@socionext.com>
3  *
4  * SPDX-License-Identifier:     GPL-2.0+
5  */
6
7 #include <common.h>
8 #include <spl.h>
9
10 #include "../init.h"
11 #include "../micro-support-card.h"
12
13 int uniphier_sld3_init(const struct uniphier_board_data *bd)
14 {
15         uniphier_sld3_bcu_init(bd);
16
17         uniphier_sbc_init_admulti(bd);
18         uniphier_sld3_sbc_init(bd);
19
20         support_card_reset();
21
22         uniphier_sld3_pll_init(bd);
23
24         support_card_init();
25
26         led_puts("L0");
27
28         memconf_init(bd);
29         uniphier_sld3_memconf_init(bd);
30
31         led_puts("L1");
32
33         uniphier_ld4_early_clk_init(bd);
34
35         led_puts("L2");
36
37         uniphier_sld3_early_pin_init(bd);
38
39         led_puts("L3");
40
41 #ifdef CONFIG_SPL_SERIAL_SUPPORT
42         preloader_console_init();
43 #endif
44
45         led_puts("L4");
46
47         led_puts("L5");
48
49         uniphier_sld3_enable_dpll_ssc(bd);
50
51         led_puts("L6");
52
53         return 0;
54 }