]> git.karo-electronics.de Git - karo-tx-linux.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)
committerJason Liu <r64343@freescale.com>
Wed, 30 Oct 2013 01:53:36 +0000 (09:53 +0800)
commit0a099ea78071c16541988450b44952d0dc6a6dc3
tree9b51596f377f7199058f500ed3cf02abcc6c2223
parent56cd6b27e81c651a679b3bb8e09f73e01b3f53d8
ARM: imx: create mxc_arch_reset_init_dt() for DT boot

Commit c1e31d126b4db6a3a8d96883fae40fe22d5eba65 upstream.

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>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
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