]> git.sur5r.net Git - u-boot/blob - arch/arm/mach-uniphier/init/init-proxstream2.c
video: tegra: Enable the 'lcd' env variable work-around
[u-boot] / arch / arm / mach-uniphier / init / init-proxstream2.c
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>
9
10 #include "../init.h"
11 #include "../micro-support-card.h"
12
13 int proxstream2_init(const struct uniphier_board_data *bd)
14 {
15         int ret;
16
17         proxstream2_sbc_init(bd);
18
19         support_card_reset();
20
21         support_card_init();
22
23         led_puts("L0");
24
25         memconf_init(bd);
26         proxstream2_memconf_init(bd);
27
28         led_puts("L1");
29
30         proxstream2_early_clk_init(bd);
31
32         led_puts("L2");
33
34         led_puts("L3");
35
36 #ifdef CONFIG_SPL_SERIAL_SUPPORT
37         preloader_console_init();
38 #endif
39
40         led_puts("L4");
41
42         ret = proxstream2_umc_init(bd);
43         if (ret)
44                 return ret;
45
46         led_puts("L5");
47
48         return 0;
49 }