From patchwork Sun Aug 3 12:10:30 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Shiyan X-Patchwork-Id: 4665771 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C26F1C0338 for ; Sun, 3 Aug 2014 12:13:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E9E15201C0 for ; Sun, 3 Aug 2014 12:13:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A2467201BF for ; Sun, 3 Aug 2014 12:13:27 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XDud2-0000X3-5a; Sun, 03 Aug 2014 12:11:08 +0000 Received: from smtp29.i.mail.ru ([94.100.177.89]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XDucv-0000Vi-G3 for linux-arm-kernel@lists.infradead.org; Sun, 03 Aug 2014 12:11:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Message-Id:Date:Subject:Cc:To:From; bh=lnm1J3hafPAAtAMof5I9ni/C86oqugGQAuNVzque74g=; b=YeID+z+/M6sbYb1uklVBk+PPMV0qKB9dSfFRhHUvWILzynjtz9mi118rteEymgdcqfHPpM/brI5V3SoOG+3IdpihPNX+y8Blp/FHAyrfJh9zR7B2CnufMPMdAYfxEKvMomsctBJ4MRqHGzi8Mt1SG6/VBDlGl8Y9BAWXjkPiwxQ=; Received: from [5.18.98.7] (port=41192 helo=shc.zet) by smtp29.i.mail.ru with esmtpa (envelope-from ) id 1XDucX-0007k5-8u; Sun, 03 Aug 2014 16:10:37 +0400 From: Alexander Shiyan To: linux-arm-kernel@lists.infradead.org Subject: [PATCH] ARM: i.MX: Remove mxc_arch_reset_init_dt() call for i.MX1 Date: Sun, 3 Aug 2014 16:10:30 +0400 Message-Id: <1407067830-10985-1-git-send-email-shc_work@mail.ru> X-Mailer: git-send-email 1.8.5.5 X-Mras: Ok X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140803_051102_144054_E90C1B80 X-CRM114-Status: UNSURE ( 9.58 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.1 (/) Cc: Alexander Shiyan , Sascha Hauer , Shawn Guo X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- 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