diff options
author | Jingchang Lu <jingchang.lu@freescale.com> | 2014-10-31 12:39:53 +0300 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2014-11-22 02:39:36 +0300 |
commit | 08ae9646468c636098f689a72194778b15c9d94a (patch) | |
tree | 1a7318b7a4c73061f86cea07f7ccfb28857037fb /arch/arm/mach-imx/imx31-dt.c | |
parent | f144c7ec0dfe2f53c3c57538560a11bdc94d0cd1 (diff) | |
download | linux-08ae9646468c636098f689a72194778b15c9d94a.tar.xz |
ARM: imx: clean up machine mxc_arch_reset_init_dt reset init
System restart mechanism has been changed with the introduction
of "kernel restart handler call chain support". The imx2 watchdog
based restart handler has been moved to the driver, and these
restart can be removed from the machine layer.
This patch cleans up the device tree version machine reset init with
mxc_arch_reset_init_dt and removes corresponding .restart handler,
for the .init_machine that can be handled by system default after
removing the mxc_arch_reset_init_dt, the .init_machine is also removed.
Signed-off-by: Jingchang Lu <jingchang.lu@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/mach-imx/imx31-dt.c')
-rw-r--r-- | arch/arm/mach-imx/imx31-dt.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/arm/mach-imx/imx31-dt.c b/arch/arm/mach-imx/imx31-dt.c index 418dbc82adc4..32100222a017 100644 --- a/arch/arm/mach-imx/imx31-dt.c +++ b/arch/arm/mach-imx/imx31-dt.c @@ -18,13 +18,6 @@ #include "common.h" #include "mx31.h" -static void __init imx31_dt_init(void) -{ - mxc_arch_reset_init_dt(); - - of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); -} - static const char * const imx31_dt_board_compat[] __initconst = { "fsl,imx31", NULL @@ -40,7 +33,5 @@ DT_MACHINE_START(IMX31_DT, "Freescale i.MX31 (Device Tree Support)") .init_early = imx31_init_early, .init_irq = mx31_init_irq, .init_time = imx31_dt_timer_init, - .init_machine = imx31_dt_init, .dt_compat = imx31_dt_board_compat, - .restart = mxc_restart, MACHINE_END |