]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
powerpc/85xx: Fix determining Fman freq on P1023
authorKumar Gala <galak@kernel.crashing.org>
Thu, 10 Mar 2011 12:09:20 +0000 (06:09 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 4 Apr 2011 14:24:43 +0000 (09:24 -0500)
On the P1023 the Fman freq is equivalent to the system bus freq, not 1/2
of it.  Also we only have one Fman so no need for the code to deal with
a second.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/cpu/mpc85xx/speed.c

index f26de6cd3e99b152d5e57e577be930713495757e..e530494102b488d72ce199ab3528503030f1088a 100644 (file)
@@ -190,10 +190,7 @@ void get_sys_info (sys_info_t * sysInfo)
 #endif
 
 #ifdef CONFIG_SYS_DPAA_FMAN
-               sysInfo->freqFMan[0] = sysInfo->freqSystemBus / 2;
-#if (CONFIG_SYS_NUM_FMAN) == 2
-               sysInfo->freqFMan[1] = sysInfo->freqSystemBus / 2;
-#endif
+               sysInfo->freqFMan[0] = sysInfo->freqSystemBus;
 #endif
 
 #endif /* CONFIG_FSL_CORENET */