ARM: UniPhier: split clkrst_init() into two functions
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 26 Feb 2015 17:26:51 +0000 (02:26 +0900)
committerMasahiro Yamada <yamada.m@jp.panasonic.com>
Sat, 28 Feb 2015 15:02:36 +0000 (00:02 +0900)
commit198a97a6abe7090109002baea0d2cb46070955aa
tree4ee4cea278f41d5f16147152028785e3891cf97b
parentf267b81e20da095539c7da7103afbd1e1b39b20b
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>
arch/arm/mach-uniphier/board_early_init_f.c
arch/arm/mach-uniphier/ph1-ld4/Makefile
arch/arm/mach-uniphier/ph1-ld4/clkrst_init.c
arch/arm/mach-uniphier/ph1-ld4/early_clkrst_init.c [new file with mode: 0644]
arch/arm/mach-uniphier/ph1-pro4/Makefile
arch/arm/mach-uniphier/ph1-pro4/clkrst_init.c
arch/arm/mach-uniphier/ph1-pro4/early_clkrst_init.c [new file with mode: 0644]
arch/arm/mach-uniphier/ph1-sld8/Makefile
arch/arm/mach-uniphier/ph1-sld8/clkrst_init.c
arch/arm/mach-uniphier/ph1-sld8/early_clkrst_init.c [new file with mode: 0644]
arch/arm/mach-uniphier/spl.c