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