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>
This commit is contained in:
parent
b5c8753fa1
commit
939cdcdc62
1 changed files with 1 additions and 4 deletions
|
@ -190,10 +190,7 @@ void get_sys_info (sys_info_t * sysInfo)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SYS_DPAA_FMAN
|
#ifdef CONFIG_SYS_DPAA_FMAN
|
||||||
sysInfo->freqFMan[0] = sysInfo->freqSystemBus / 2;
|
sysInfo->freqFMan[0] = sysInfo->freqSystemBus;
|
||||||
#if (CONFIG_SYS_NUM_FMAN) == 2
|
|
||||||
sysInfo->freqFMan[1] = sysInfo->freqSystemBus / 2;
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* CONFIG_FSL_CORENET */
|
#endif /* CONFIG_FSL_CORENET */
|
||||||
|
|
Loading…
Reference in a new issue