]> Git Repo - J-u-boot.git/blame - arch/arm/mach-uniphier/init/init-sld3.c
ARM: uniphier: move PLL init code to U-Boot proper where possible
[J-u-boot.git] / arch / arm / mach-uniphier / init / init-sld3.c
CommitLineData
323d1f9d 1/*
6a3e4274
MY
2 * Copyright (C) 2013-2015 Panasonic Corporation
3 * Copyright (C) 2015-2016 Socionext Inc.
4 * Author: Masahiro Yamada <[email protected]>
323d1f9d
MY
5 *
6 * SPDX-License-Identifier: GPL-2.0+
7 */
8
9#include <common.h>
10#include <spl.h>
107b3fb4
MY
11
12#include "../init.h"
13#include "../micro-support-card.h"
323d1f9d 14
5b660066 15int uniphier_sld3_init(const struct uniphier_board_data *bd)
323d1f9d 16{
5b660066 17 uniphier_sld3_bcu_init(bd);
323d1f9d 18
5b660066 19 uniphier_sbc_init_admulti(bd);
bef4b024 20
323d1f9d
MY
21 support_card_reset();
22
6a3e4274 23 uniphier_sld3_dpll_init(bd);
323d1f9d
MY
24
25 support_card_init();
26
27 led_puts("L0");
28
29 memconf_init(bd);
5b660066 30 uniphier_sld3_memconf_init(bd);
323d1f9d
MY
31
32 led_puts("L1");
33
5b660066 34 uniphier_ld4_early_clk_init(bd);
323d1f9d
MY
35
36 led_puts("L2");
37
323d1f9d
MY
38 led_puts("L3");
39
40#ifdef CONFIG_SPL_SERIAL_SUPPORT
41 preloader_console_init();
42#endif
43
44 led_puts("L4");
45
46 led_puts("L5");
47
323d1f9d
MY
48 return 0;
49}
This page took 0.124294 seconds and 4 git commands to generate.