This commit merges arch/arm/cpu/armv7/uniphier/ph1-*/board_postclk_init.c to arch/arm/cpu/armv7/uniphier/board_postclk_init.c Because PH1-Pro4 does not have the BCU block, add __weak to bcu_init(). Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>master
parent
0d8c7f747e
commit
4f25481b83
@ -1,41 +0,0 @@ |
||||
/*
|
||||
* 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 sbc_init(void); |
||||
void sg_init(void); |
||||
void pll_init(void); |
||||
void pin_init(void); |
||||
void clkrst_init(void); |
||||
|
||||
int board_postclk_init(void) |
||||
{ |
||||
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; |
||||
} |
@ -1 +0,0 @@ |
||||
#include "../ph1-ld4/board_postclk_init.c" |
Loading…
Reference in new issue