aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vz@mleia.com>2016-09-18 21:37:19 -0400
committerShawn Guo <shawnguo@kernel.org>2016-09-20 10:35:04 -0400
commitc5f9cfe60bd4763432e78780174fa6b6c5e82336 (patch)
tree6c039f91ceb297da9376e61f25d1c232bbf90676
parentce689b0de5ec225e04eb9074888c3f2b16398c69 (diff)
ARM: imx legacy: qong: move peripheral initialization to .init_late
The change moves some of peripheral registrations and initializations (all peripherals dependent on GPIOs) from .init_machine to .init_late level, this allows to safely shift the shared GPIO controller driver initialization level after init level of i.MX IOMUXC driver. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--arch/arm/mach-imx/mach-qong.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-qong.c b/arch/arm/mach-imx/mach-qong.c
index 34df64f133ed..8c2cbd693d21 100644
--- a/arch/arm/mach-imx/mach-qong.c
+++ b/arch/arm/mach-imx/mach-qong.c
@@ -251,7 +251,6 @@ static void __init qong_init(void)
251 251
252 mxc_init_imx_uart(); 252 mxc_init_imx_uart();
253 qong_init_nor_mtd(); 253 qong_init_nor_mtd();
254 qong_init_fpga();
255 imx31_add_imx2_wdt(); 254 imx31_add_imx2_wdt();
256} 255}
257 256
@@ -268,5 +267,6 @@ MACHINE_START(QONG, "Dave/DENX QongEVB-LITE")
268 .init_irq = mx31_init_irq, 267 .init_irq = mx31_init_irq,
269 .init_time = qong_timer_init, 268 .init_time = qong_timer_init,
270 .init_machine = qong_init, 269 .init_machine = qong_init,
270 .init_late = qong_init_fpga,
271 .restart = mxc_restart, 271 .restart = mxc_restart,
272MACHINE_END 272MACHINE_END