diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-02-27 02:26:51 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-03-01 00:02:36 +0900 |
commit | 198a97a6abe7090109002baea0d2cb46070955aa (patch) | |
tree | 4ee4cea278f41d5f16147152028785e3891cf97b /arch/arm/mach-uniphier/spl.c | |
parent | f267b81e20da095539c7da7103afbd1e1b39b20b (diff) | |
download | u-boot-imx-198a97a6abe7090109002baea0d2cb46070955aa.zip u-boot-imx-198a97a6abe7090109002baea0d2cb46070955aa.tar.gz u-boot-imx-198a97a6abe7090109002baea0d2cb46070955aa.tar.bz2 |
ARM: UniPhier: split clkrst_init() into two functions
Split the current clkrst_init() into two functions:
- early_clkrst_init(): called from SPL
Deassert the reset signals of the memory controller and some other
basic cores.
- clkrst_init(): called from main U-boot
Deassert the reset signals that are necessary for the access to
peripherals etc.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/mach-uniphier/spl.c')
-rw-r--r-- | arch/arm/mach-uniphier/spl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-uniphier/spl.c b/arch/arm/mach-uniphier/spl.c index 5cdf69a..c8a2469 100644 --- a/arch/arm/mach-uniphier/spl.c +++ b/arch/arm/mach-uniphier/spl.c @@ -18,7 +18,7 @@ void sbc_init(void); void sg_init(void); void pll_init(void); void pin_init(void); -void clkrst_init(void); +void early_clkrst_init(void); int umc_init(void); void enable_dpll_ssc(void); @@ -38,7 +38,7 @@ void spl_board_init(void) led_write(L, 0, , ); - clkrst_init(); + early_clkrst_init(); led_write(L, 1, , ); |