]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: imx: create mxc_arch_reset_init_dt() for DT boot
authorShawn Guo <shawn.guo@linaro.org>
Fri, 10 May 2013 02:19:01 +0000 (10:19 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 17 Jun 2013 07:45:10 +0000 (15:45 +0800)
commitc1e31d126b4db6a3a8d96883fae40fe22d5eba65
tree88dc2c60a53d0f6ad84545de3975f43b6b7b7b51
parent18cb680f1a003a1a1ec0e6097d7b763516a27f04
ARM: imx: create mxc_arch_reset_init_dt() for DT boot

The mxc_arch_reset_init() uses static mapping and calls clk_get_sys() to
get clock.  It's suitable for non-DT boot but not for DT boot where
dynamic mapping and of_clk_get() should be used instead.  Create
mxc_arch_reset_init_dt() as the DT variant of mxc_arch_reset_init(),
and change DT platforms to use it.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/common.h
arch/arm/mach-imx/imx25-dt.c
arch/arm/mach-imx/imx27-dt.c
arch/arm/mach-imx/imx31-dt.c
arch/arm/mach-imx/imx51-dt.c
arch/arm/mach-imx/mach-imx53.c
arch/arm/mach-imx/system.c