]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: kirkwood: stop printk TCLK value at boot for DT boards
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
Tue, 5 Nov 2013 18:09:14 +0000 (19:09 +0100)
committerJason Cooper <jason@lakedaemon.net>
Sun, 24 Nov 2013 03:09:10 +0000 (03:09 +0000)
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 <arnaud.patard@rtp-net.org>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-kirkwood/board-dt.c

index 5cd0a3bd01320d80679089eb985af3c70386b231..78188159484d79e760d8ec22a6303a81d100aeae 100644 (file)
@@ -106,7 +106,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,