diff options
author | James Hogan <james.hogan@imgtec.com> | 2013-01-15 15:27:45 (GMT) |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2013-06-13 11:55:27 (GMT) |
commit | cf07053214efccc80eed429dcd8f95583af75e7b (patch) | |
tree | 9215633f505fa40f1b3342be252a2d4a75db80af /arch/metag | |
parent | caa279dda4d9a442d824cd333e8b72078b83e855 (diff) | |
download | linux-cf07053214efccc80eed429dcd8f95583af75e7b.tar.xz |
metag: log core and timer frequencies from arch code
Log core clock and Meta timer frequencies during init in architecture
generic code, removing the need for equivalent log messages in SoC
specific code.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/metag')
-rw-r--r-- | arch/metag/kernel/clock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/metag/kernel/clock.c b/arch/metag/kernel/clock.c index 8bfd6a5..6339c9c 100644 --- a/arch/metag/kernel/clock.c +++ b/arch/metag/kernel/clock.c @@ -87,6 +87,8 @@ static void __init init_metag_core_clock(void) void __init init_metag_clocks(void) { init_metag_core_clock(); + + pr_info("Core clock frequency: %lu Hz\n", get_coreclock()); } /** |