From patchwork Wed Aug 15 14:26:30 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 177676 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from merlin.infradead.org (unknown [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 A2F6E2C0040 for ; Thu, 16 Aug 2012 00:30:10 +1000 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T1eYX-0008Kp-Rc; Wed, 15 Aug 2012 14:26:45 +0000 Received: from mail-yw0-f49.google.com ([209.85.213.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1T1eYS-0008KI-RK for linux-arm-kernel@lists.infradead.org; Wed, 15 Aug 2012 14:26:41 +0000 Received: by yhjj52 with SMTP id j52so1929559yhj.36 for ; Wed, 15 Aug 2012 07:26:39 -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=Kl4diZ75gQJWkAlZJed6PedTpZx4Fa4fkwwA4Ao9WVs=; b=ukEznbrGlEUazy09mWhOKL8YJiAtSmkjnCpD/5+DjhO0rVyex1xX19lnulK5PH3aCg 8Hy2lVb6GC51BXxnOFNG88MULDoxUaujshxJoLMYb7cPfoBIv1WWFmklsWcf7drMwroc 7Y8M0YAWYULEMuP6bQ0VqdVOpzp7vuAVJ/j2OiMjqQGJOWuycUBi9l0oMAsFjPlFwnnX EqsoECtHi4Q1IbDD5c5BUYAia8EXts8SbIv4/aKwS4cdaxvxNOncoO4ZpcYDKtr322B+ GSHch0MsuOmWq9bqKpbLtlpKXd65a9sTbi2KOZY4/0B0tzoyIa8i1cXxJ+sC5uitW/2q 0AIA== Received: by 10.236.187.1 with SMTP id x1mr19234132yhm.125.1345040799659; Wed, 15 Aug 2012 07:26:39 -0700 (PDT) Received: from fabio-Latitude-E6410.cps.virtua.com.br ([201.82.136.222]) by mx.google.com with ESMTPS id t39sm1350517anh.3.2012.08.15.07.26.38 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Aug 2012 07:26:39 -0700 (PDT) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH v2 1/2] ARM: mach-imx: Remove board entries in dt_board_compat Date: Wed, 15 Aug 2012 11:26:30 -0300 Message-Id: <1345040791-3000-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 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.213.49 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: Fabio Estevam , linux-arm-kernel@lists.infradead.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 --- Changes since v1: - Rebased against 3.6-rc --- 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, 8 deletions(-) diff --git a/arch/arm/mach-imx/imx51-dt.c b/arch/arm/mach-imx/imx51-dt.c index d4067fe..8604165 100644 --- a/arch/arm/mach-imx/imx51-dt.c +++ b/arch/arm/mach-imx/imx51-dt.c @@ -79,7 +79,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 1b7a2fc..d193d8f 100644 --- a/arch/arm/mach-imx/imx53-dt.c +++ b/arch/arm/mach-imx/imx53-dt.c @@ -105,10 +105,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 5ec0608..7a9599f 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c @@ -218,9 +218,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, };