From patchwork Fri Jul 6 22:04:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 169544 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 B3C032C0084 for ; Sat, 7 Jul 2012 08:12:13 +1000 (EST) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1SnGe3-0005yW-4p; Fri, 06 Jul 2012 22:04:59 +0000 Received: from mail-gg0-f177.google.com ([209.85.161.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SnGdq-0005yI-CN for linux-arm-kernel@lists.infradead.org; Fri, 06 Jul 2012 22:04:50 +0000 Received: by ggcs5 with SMTP id s5so9778114ggc.36 for ; Fri, 06 Jul 2012 15:04:43 -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=jZOzysm/V4i8Sk/ZT193lZZws4G9ePkoI5tJEzIUzok=; b=hNTvmyTTFkze2nk1LY/WoqpHwVMORsIGoLM+UJBU5u0XWdC9tFLohRUzTCosrRxk/1 iWhu1D6pmEYTh7GGVSzPn+mkNp5Gy1/gE0lkS6Rvo3fHq335SvUxqC9q5uZgNpqw2KpR mELv3OO7bfsHCjMoj5rUj7F3Fdhho2f4a9AimZlIWMHKU1BfbmaBqYs4E3ajd+410Jie SPIsliHI178dZVFaLoiofD+WUkeKSukwEpnabsqq+cIr9yO9Zj/mT1Ln8zJXxUdBX7lq wFEx8g2n8jB8K9RPDJ1MNMrokvvdkT+MoFrfX2gyhg2tZb/TUsSGHeL2Hi7pLYUQbmQv fcDQ== Received: by 10.236.73.164 with SMTP id v24mr24341773yhd.102.1341612283572; Fri, 06 Jul 2012 15:04:43 -0700 (PDT) Received: from localhost.localdomain ([201.82.136.222]) by mx.google.com with ESMTPS id y63sm49660155yha.9.2012.07.06.15.04.41 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 06 Jul 2012 15:04:43 -0700 (PDT) From: Fabio Estevam To: kernel@pengutronix.de Subject: [PATCH] ARM: mx27: Reenable silicon version print Date: Fri, 6 Jul 2012 19:04:35 -0300 Message-Id: <1341612275-4464-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.161.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-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 Prior to the new i.mx clock conversion the mx27 silicon version was printed at boot. Reenable this feature. Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/clk-imx27.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-imx/clk-imx27.c b/arch/arm/mach-imx/clk-imx27.c index e8a6016..c9370bf 100644 --- a/arch/arm/mach-imx/clk-imx27.c +++ b/arch/arm/mach-imx/clk-imx27.c @@ -269,6 +269,8 @@ int __init mx27_clocks_init(unsigned long fref) clk_prepare_enable(clk[emi_ahb_gate]); + imx_print_silicon_rev("i.MX27", mx27_revision()); + return 0; }