summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/imx27-dt.c
diff options
context:
space:
mode:
authorJingchang Lu <jingchang.lu@freescale.com>2014-10-31 09:39:53 (GMT)
committerShawn Guo <shawn.guo@linaro.org>2014-11-21 23:39:36 (GMT)
commit08ae9646468c636098f689a72194778b15c9d94a (patch)
tree1a7318b7a4c73061f86cea07f7ccfb28857037fb /arch/arm/mach-imx/imx27-dt.c
parentf144c7ec0dfe2f53c3c57538560a11bdc94d0cd1 (diff)
downloadlinux-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/imx27-dt.c')
-rw-r--r--arch/arm/mach-imx/imx27-dt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/imx27-dt.c b/arch/arm/mach-imx/imx27-dt.c
index dc8f1a6..bd42d1b 100644
--- a/arch/arm/mach-imx/imx27-dt.c
+++ b/arch/arm/mach-imx/imx27-dt.c
@@ -22,8 +22,6 @@ static void __init imx27_dt_init(void)
{
struct platform_device_info devinfo = { .name = "cpufreq-dt", };
- mxc_arch_reset_init_dt();
-
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
platform_device_register_full(&devinfo);
@@ -40,5 +38,4 @@ DT_MACHINE_START(IMX27_DT, "Freescale i.MX27 (Device Tree Support)")
.init_irq = mx27_init_irq,
.init_machine = imx27_dt_init,
.dt_compat = imx27_dt_board_compat,
- .restart = mxc_restart,
MACHINE_END