From patchwork Sun Jun 17 14:04:15 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 165344 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:4978:20e::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 138E3B6FFD for ; Mon, 18 Jun 2012 00:07:56 +1000 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SgG5g-00047v-Cw; Sun, 17 Jun 2012 14:04:32 +0000 Received: from mail-gh0-f177.google.com ([209.85.160.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SgG5c-00047g-5S for linux-arm-kernel@lists.infradead.org; Sun, 17 Jun 2012 14:04:29 +0000 Received: by ghbf11 with SMTP id f11so3433144ghb.36 for ; Sun, 17 Jun 2012 07:04:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=0qqSiCuRiWj7gqSYvcqO1zTMteKfWFuGl4N5Nh/J0LA=; b=OW0zhhdTJ4jXuf4sweJ0lOMINy+nEO29LGgxiOpyYPrlowkuaFdrbhwG2YG1j+qM9x h9WO9D5kagVOiwxb4MBsgJfHAu1PG0I9ZLCmbmRHfYpMqrDzpyWt4R0HKwoJpIOIvJRC AXlQ6QF/G1gALz83CE3zmP2MTiJfJMm1YLRyPTgVlqR7dGGlO+H6zanEBFpV3eOvWMV8 E/8sadn1t7wlcsnMk6gznAJsg+Dp/tCZi44GStiXELinS1sunRORek4VmfGF4ggjqpFY tXe3e7EmKCU+R2yk6l3KiRdUms4EV0Cp14YHcorTk7Zzv9REDyKIjQleEVaRe8+dAW2u 7hIw== Received: by 10.236.75.3 with SMTP id y3mr14857819yhd.110.1339941867319; Sun, 17 Jun 2012 07:04:27 -0700 (PDT) Received: from localhost.localdomain ([189.5.6.233]) by mx.google.com with ESMTPS id z42sm53654677yhd.1.2012.06.17.07.04.24 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 17 Jun 2012 07:04:26 -0700 (PDT) From: Fabio Estevam To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] ARM: mach-imx: Remove board entries in dt_board_compat Date: Sun, 17 Jun 2012 11:04:15 -0300 Message-Id: <1339941856-2836-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.1 X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.160.177 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: marex@denx.de, Fabio Estevam , otavio@ossystems.com.br, rob.herring@calxeda.com, kernel@pengutronix.de, shawn.guo@linaro.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Fabio Estevam There is no need for adding board related entries into dt_board_compat. Leave only the SoC entry. This way we do not need to patch a C file when adding dt support for a new board. Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/imx51-dt.c | 1 - arch/arm/mach-imx/imx53-dt.c | 4 ---- arch/arm/mach-imx/mach-imx6q.c | 3 --- 3 files changed, 0 insertions(+), 8 deletions(-) diff --git a/arch/arm/mach-imx/imx51-dt.c b/arch/arm/mach-imx/imx51-dt.c index 18e78db..5f10812 100644 --- a/arch/arm/mach-imx/imx51-dt.c +++ b/arch/arm/mach-imx/imx51-dt.c @@ -106,7 +106,6 @@ static struct sys_timer imx51_timer = { }; static const char *imx51_dt_board_compat[] __initdata = { - "fsl,imx51-babbage", "fsl,imx51", NULL }; diff --git a/arch/arm/mach-imx/imx53-dt.c b/arch/arm/mach-imx/imx53-dt.c index eb04b62..75535f9 100644 --- a/arch/arm/mach-imx/imx53-dt.c +++ b/arch/arm/mach-imx/imx53-dt.c @@ -132,10 +132,6 @@ static struct sys_timer imx53_timer = { }; static const char *imx53_dt_board_compat[] __initdata = { - "fsl,imx53-ard", - "fsl,imx53-evk", - "fsl,imx53-qsb", - "fsl,imx53-smd", "fsl,imx53", NULL }; diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index b47e98b..1796be4 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c @@ -173,9 +173,6 @@ static struct sys_timer imx6q_timer = { }; static const char *imx6q_dt_compat[] __initdata = { - "fsl,imx6q-arm2", - "fsl,imx6q-sabrelite", - "fsl,imx6q-sabresd", "fsl,imx6q", NULL, };