diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-03-10 06:09:20 -0600 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2011-04-04 09:24:43 -0500 |
commit | 939cdcdc622840d43dd01b6a9509abcb6f4c24f6 (patch) | |
tree | b09999dc6547eab249fa39ecbd7ece8903701ed0 /arch | |
parent | b5c8753fa173d6372d86dcd11f83ef23c911b0de (diff) | |
download | u-boot-imx-939cdcdc622840d43dd01b6a9509abcb6f4c24f6.zip u-boot-imx-939cdcdc622840d43dd01b6a9509abcb6f4c24f6.tar.gz u-boot-imx-939cdcdc622840d43dd01b6a9509abcb6f4c24f6.tar.bz2 |
powerpc/85xx: Fix determining Fman freq on P1023
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/speed.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/speed.c b/arch/powerpc/cpu/mpc85xx/speed.c index f26de6c..e530494 100644 --- a/arch/powerpc/cpu/mpc85xx/speed.c +++ b/arch/powerpc/cpu/mpc85xx/speed.c @@ -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 */ |