summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/uniphier/ph1-ld4/board_postclk_init.c
blob: 5bb8179eb455524a2a81fd3cf057ddf3aaf51798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
 * Copyright (C) 2012-2014 Panasonic Corporation
 *   Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
 *
 * SPDX-License-Identifier:	GPL-2.0+
 */

#include <common.h>
#include <asm/arch/led.h>
#include <asm/arch/board.h>

void bcu_init(void);
void sbc_init(void);
void sg_init(void);
void pll_init(void);
void pin_init(void);
void clkrst_init(void);

int board_postclk_init(void)
{
	bcu_init();

	sbc_init();

	sg_init();

	uniphier_board_reset();

	pll_init();

	uniphier_board_init();

	led_write(B, 1, , );

	clkrst_init();

	led_write(B, 2, , );

	pin_init();

	led_write(B, 3, , );

	return 0;
}