Skip to content

Commit

Permalink
ARM: kirkwood: stop printk TCLK value at boot for DT boards
Browse files Browse the repository at this point in the history
Commit 2326f04 (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>
  • Loading branch information
Arnaud Patard (Rtp) authored and Jason Cooper committed Nov 24, 2013
1 parent 5e51fe5 commit 7805d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-kirkwood/board-dt.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ static void __init kirkwood_dt_eth_fixup(void)

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,
Expand Down

0 comments on commit 7805d2b

Please sign in to comment.