summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc85xx/cpu.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2012-10-08 07:44:06 +0000
committerAndy Fleming <afleming@freescale.com>2012-10-22 14:31:14 -0500
commit800c73c410732e1c9f852a935151c834f3b31c4d (patch)
tree86af9dc5af2c5bfa8471a4f096ef10e262397503 /arch/powerpc/cpu/mpc85xx/cpu.c
parent553ae6f8f2d860fb6a694fc3316bf80ba35ee794 (diff)
downloadu-boot-imx-800c73c410732e1c9f852a935151c834f3b31c4d.zip
u-boot-imx-800c73c410732e1c9f852a935151c834f3b31c4d.tar.gz
u-boot-imx-800c73c410732e1c9f852a935151c834f3b31c4d.tar.bz2
powerpc/85xx: Add determining and report IFC frequency
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/cpu.c')
-rw-r--r--arch/powerpc/cpu/mpc85xx/cpu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cpu.c b/arch/powerpc/cpu/mpc85xx/cpu.c
index a5048a1..26fc84c 100644
--- a/arch/powerpc/cpu/mpc85xx/cpu.c
+++ b/arch/powerpc/cpu/mpc85xx/cpu.c
@@ -181,6 +181,10 @@ int checkcpu (void)
}
#endif
+#if defined(CONFIG_FSL_IFC)
+ printf("IFC:%-4s MHz\n", strmhz(buf1, sysinfo.freqLocalBus));
+#endif
+
#ifdef CONFIG_CPM2
printf("CPM: %s MHz\n", strmhz(buf1, sysinfo.freqSystemBus));
#endif