linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: i.MX: Remove mxc_arch_reset_init_dt() call for i.MX1
@ 2014-08-03 12:10 Alexander Shiyan
  2014-08-05  5:42 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shiyan @ 2014-08-03 12:10 UTC (permalink / raw)
  To: linux-arm-kernel

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

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/mach-imx/imx1-dt.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/arm/mach-imx/imx1-dt.c b/arch/arm/mach-imx/imx1-dt.c
index 05da661..6f915b0 100644
--- a/arch/arm/mach-imx/imx1-dt.c
+++ b/arch/arm/mach-imx/imx1-dt.c
@@ -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
-- 
1.8.5.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: i.MX: Remove mxc_arch_reset_init_dt() call for i.MX1
  2014-08-03 12:10 [PATCH] ARM: i.MX: Remove mxc_arch_reset_init_dt() call for i.MX1 Alexander Shiyan
@ 2014-08-05  5:42 ` Shawn Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Shawn Guo @ 2014-08-05  5:42 UTC (permalink / raw)
  To: linux-arm-kernel

On Sun, Aug 03, 2014 at 04:10:30PM +0400, Alexander Shiyan wrote:
> i.MX1 watchdog is not compatible with other i.MX SOCs, so
> remove call of mxc_arch_reset_init_dt() for this CPU.
> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>

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

Shawn

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-05  5:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-03 12:10 [PATCH] ARM: i.MX: Remove mxc_arch_reset_init_dt() call for i.MX1 Alexander Shiyan
2014-08-05  5:42 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).