From patchwork Tue Nov 5 18:09:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Arnaud Patard (Rtp)" X-Patchwork-Id: 3156811 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 E2714BEEB2 for ; Fri, 8 Nov 2013 08:37:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1819020497 for ; Fri, 8 Nov 2013 08:37:57 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2EC9120490 for ; Fri, 8 Nov 2013 08:37:55 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VehZR-0002NX-TE; Fri, 08 Nov 2013 08:37:38 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VehZP-0005rI-AF; Fri, 08 Nov 2013 08:37:35 +0000 Received: from lebrac.rtp-net.org ([88.191.135.105]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VehZL-0005qo-KC for linux-arm-kernel@lists.infradead.org; Fri, 08 Nov 2013 08:37:32 +0000 Received: by lebrac.rtp-net.org (Postfix, from userid 1000) id 589542926E; Fri, 8 Nov 2013 09:36:24 +0100 (CET) Message-Id: <20131105180931.674625171@rtp-net.org> User-Agent: quilt/0.60-1 Date: Tue, 05 Nov 2013 19:09:14 +0100 From: Arnaud Patard (Rtp) To: linux-arm-kernel@lists.infradead.org Subject: [patch 1/1] ARM: kirkwood: stop printk TCLK value at boot for DT boards X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131108_033731_773802_C584F667 X-CRM114-Status: GOOD ( 10.57 ) X-Spam-Score: -1.9 (-) Cc: Andrew Lunn , Jason Cooper , Arnaud Patard X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Commit 2326f04321a9 (ARM: kirkwood: convert to DT irqchip and clocksource) dropped the call to kirkwood_timer_init() when booting with DT. This results in kirkwood_tclk not being set and the boot message is now: Kirkwood: MV88F6281-A0, TCLK=0 This patch modifies the message for printing only the kirkwood id, as it allows to detect if we're running A0/A1/... variants with a simple dmesg. Signed-off-by: Arnaud Patard Acked-by: Sebastian Hesselbarth Acked-by: Andrew Lunn Index: linux-next/arch/arm/mach-kirkwood/board-dt.c =================================================================== --- linux-next.orig/arch/arm/mach-kirkwood/board-dt.c 2013-11-05 18:36:23.131191305 +0100 +++ linux-next/arch/arm/mach-kirkwood/board-dt.c 2013-11-05 18:36:35.867190745 +0100 @@ -140,7 +140,7 @@ eth_fixup_skip: static void __init kirkwood_dt_init(void) { - pr_info("Kirkwood: %s, TCLK=%d.\n", kirkwood_id(), kirkwood_tclk); + pr_info("Kirkwood: %s.\n", kirkwood_id()); /* * Disable propagation of mbus errors to the CPU local bus,