]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: imx5: move init hooks into mach-imx5x.c
authorShawn Guo <shawn.guo@freescale.com>
Tue, 20 May 2014 07:34:06 +0000 (15:34 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Tue, 17 Jun 2014 13:14:24 +0000 (21:14 +0800)
commitb477e756c08482e47aa04df6e28e7272b28828ea
treeb624119a397640dfe3c513ec1b321da97521c905
parent26b3d124a38e1f5ba8bd90642aadecad403d34a8
ARM: imx5: move init hooks into mach-imx5x.c

These imx5 init_early[late] hooks are called only from mach-imx5x.c.
Let's move them into mach-imx5x.c.

While at it, replace the static mapping in imx51_ipu_mipi_setup() with
dynamic mapping.  Also this function and imx_src_init() do not
necessarily to be called at .init_early hook, so move them into
.init_machine.

The mxc_iomux_v3_init() is dropped from imx51_init_early() in the
moving, since it's only needed by non-DT boot.

Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/mach-imx/common.h
arch/arm/mach-imx/mach-imx51.c
arch/arm/mach-imx/mach-imx53.c
arch/arm/mach-imx/mm-imx5.c