]>
Commit | Line | Data |
---|---|---|
28f40d4a MY |
1 | /* |
2 | * Copyright (C) 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> | |
107b3fb4 MY |
9 | |
10 | #include "../init.h" | |
11 | #include "../micro-support-card.h" | |
28f40d4a | 12 | |
5b660066 | 13 | int uniphier_pro5_init(const struct uniphier_board_data *bd) |
28f40d4a | 14 | { |
9e3bb84b | 15 | uniphier_sbc_init_savepin(); |
28f40d4a | 16 | |
28f40d4a MY |
17 | support_card_init(); |
18 | ||
19 | led_puts("L0"); | |
20 | ||
8d6c99c6 | 21 | uniphier_memconf_2ch_init(bd); |
28f40d4a MY |
22 | |
23 | led_puts("L1"); | |
24 | ||
78c627cf MY |
25 | uniphier_sld3_early_clk_init(); |
26 | uniphier_pro5_dram_clk_init(); | |
28f40d4a MY |
27 | |
28 | led_puts("L2"); | |
29 | ||
30 | led_puts("L3"); | |
31 | ||
32 | #ifdef CONFIG_SPL_SERIAL_SUPPORT | |
33 | preloader_console_init(); | |
34 | #endif | |
35 | ||
36 | led_puts("L4"); | |
37 | ||
38 | led_puts("L5"); | |
39 | ||
40 | return 0; | |
41 | } |