blob: 71d36d94e6ed16342f3b7249025d236fb0cead4f [file] [log] [blame]
Masahiro Yamada1fe65d32015-09-22 00:27:41 +09001/*
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>
Masahiro Yamada1fe65d32015-09-22 00:27:41 +09009#include <mach/init.h>
10#include <mach/micro-support-card.h>
11
12int proxstream2_init(const struct uniphier_board_data *bd)
13{
14 proxstream2_sbc_init(bd);
15
16 support_card_reset();
17
18 support_card_init();
19
20 led_puts("L0");
21
22 memconf_init(bd);
23 proxstream2_memconf_init(bd);
24
25 led_puts("L1");
26
27 proxstream2_early_clk_init(bd);
28
29 led_puts("L2");
30
31 led_puts("L3");
32
33#ifdef CONFIG_SPL_SERIAL_SUPPORT
34 preloader_console_init();
35#endif
36
37 led_puts("L4");
38
39 return 0;
40}