From patchwork Wed Aug 15 14:26:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 1325851 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id DED40DFFED for ; Wed, 15 Aug 2012 14:29:48 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1T1eYg-0008Lv-3A; Wed, 15 Aug 2012 14:26:54 +0000 Received: from mail-yx0-f177.google.com ([209.85.213.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1T1eYU-0008Kb-MS for linux-arm-kernel@lists.infradead.org; Wed, 15 Aug 2012 14:26:45 +0000 Received: by yenq9 with SMTP id q9so1937278yen.36 for ; Wed, 15 Aug 2012 07:26:41 -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:in-reply-to:references; bh=uggcOpI6RP/tjqgYZkh4PS4B3aePn/Tu+dUAYmkOm38=; b=PkuS9ZmnmlUsJ+Nag7xAqfrbFepYH3R2Eo8i2+SZDFSusedwMZx/GqRhu86iWgRmdL VfaMM0I8X9PjiI7e/33Fc04+B5NjB2kTp3rZMio1C4OUnLapuEGfzBNcBABhY3SaxJul eczcWy3qmL/eobPscCU4BJbghHV3+P6TO7E7oqUnkuzC2WdaQjkd6C9GwDjAuKC7SrpD vo+PlMIsff4Yu10HVTHw037E9dMGS6Usg9Q3eWqxs3+9oidWko4gcRAPY5K9eua+rr/0 pV5lSwgosIV3S0zUfE9FNIyIMGebcPLtQ3GF/MOuvFGCT+BHq3PKjlHa4gP8vfEcHeB/ 6CmA== Received: by 10.236.76.165 with SMTP id b25mr19480749yhe.57.1345040801585; Wed, 15 Aug 2012 07:26:41 -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.39 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Aug 2012 07:26:40 -0700 (PDT) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH v2 2/2] ARM: mach-mxs: Remove board entries in dt_board_compat Date: Wed, 15 Aug 2012 11:26:31 -0300 Message-Id: <1345040791-3000-2-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1345040791-3000-1-git-send-email-festevam@gmail.com> References: <1345040791-3000-1-git-send-email-festevam@gmail.com> 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.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: 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-Id: 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: fabio 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-rc1 arch/arm/mach-mxs/mach-mxs.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/arch/arm/mach-mxs/mach-mxs.c b/arch/arm/mach-mxs/mach-mxs.c index 8dabfe8..fb453fd 100644 --- a/arch/arm/mach-mxs/mach-mxs.c +++ b/arch/arm/mach-mxs/mach-mxs.c @@ -286,19 +286,11 @@ static void __init mxs_machine_init(void) } static const char *imx23_dt_compat[] __initdata = { - "fsl,imx23-evk", - "fsl,stmp378x_devb" - "olimex,imx23-olinuxino", "fsl,imx23", NULL, }; static const char *imx28_dt_compat[] __initdata = { - "bluegiga,apx4devkit", - "crystalfontz,cfa10036", - "denx,m28evk", - "fsl,imx28-evk", - "karo,tx28", "fsl,imx28", NULL, };