Skip to contentSkip to conversation

ARM: i.MX: Remove mxc_arch_reset_init_dt() call for i.MX1

PATCH New Alexander Shiyan 2 participants 2 messages Aug 3, 2014 – Aug 5, 2014

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: i.MX: Remove mxc_arch_reset_init_dt() call for i.MX1

i.MX1 watchdog is not compatible with other i.MX SOCs, so remove call of mxc_arch_reset_init_dt() for this CPU.

---
 arch/arm/mach-imx/imx1-dt.c | 8 --------
 1 file changed, 8 deletions(-)
arch/arm/mach-imx/imx1-dt.c +0 -8
index 05da661..6f915b0 100644
@@ -12,13 +12,6 @@
 
 #include "common.h"
 
-static void __init imx1_dt_init(void)
-{
-	mxc_arch_reset_init_dt();
-
-	of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
-}
-
 static const char * const imx1_dt_board_compat[] __initconst = {
 	"fsl,imx1",
 	NULL
@@ -28,7 +21,6 @@ DT_MACHINE_START(IMX1_DT, "Freescale i.MX1 (Device Tree Support)")
 	.map_io		= mx1_map_io,
 	.init_early	= imx1_init_early,
 	.init_irq	= mx1_init_irq,
-	.init_machine	= imx1_dt_init,
 	.dt_compat	= imx1_dt_board_compat,
 	.restart	= mxc_restart,
 MACHINE_END
Signature · 1 line
1.8.5.5
#1 lore raw

PATCH 1/1 ARM: i.MX: Remove mxc_arch_reset_init_dt() call for i.MX1

Quoted 4 lines · Alexander Shiyan

i.MX1 watchdog is not compatible with other i.MX SOCs, so remove call of mxc_arch_reset_init_dt() for this CPU.

Amend the change into 'ARM: i.MX1: Add devicetree support'.

Shawn