svn commit: r248865 - head/sys/mips/atheros
Adrian Chadd
adrian at FreeBSD.org
Fri Mar 29 06:31:32 UTC 2013
Author: adrian
Date: Fri Mar 29 06:31:31 2013
New Revision: 248865
URL: http://svnweb.freebsd.org/changeset/base/248865
Log:
Print out the platform reference frequency.
This is useful for AR933x platforms where that matters.
Modified:
head/sys/mips/atheros/ar71xx_machdep.c
Modified: head/sys/mips/atheros/ar71xx_machdep.c
==============================================================================
--- head/sys/mips/atheros/ar71xx_machdep.c Fri Mar 29 05:39:25 2013 (r248864)
+++ head/sys/mips/atheros/ar71xx_machdep.c Fri Mar 29 06:31:31 2013 (r248865)
@@ -232,9 +232,9 @@ platform_start(__register_t a0 __unused,
printf("CPU platform: %s\n", ar71xx_get_system_type());
printf("CPU Frequency=%d MHz\n", u_ar71xx_cpu_freq / 1000000);
printf("CPU DDR Frequency=%d MHz\n", u_ar71xx_ddr_freq / 1000000);
- printf("CPU AHB Frequency=%d MHz\n", u_ar71xx_ahb_freq / 1000000);
-
+ printf("CPU AHB Frequency=%d MHz\n", u_ar71xx_ahb_freq / 1000000);
printf("platform frequency: %lld\n", platform_counter_freq);
+ printf("CPU reference clock: %d MHz\n", u_ar71xx_refclk / 1000000);
printf("arguments: \n");
printf(" a0 = %08x\n", a0);
printf(" a1 = %08x\n", a1);
More information about the svn-src-head
mailing list