Skip to contentSkip to conversation

powerpc/85xx: Fix determining Fman freq on P1023

PATCH New Kumar Gala 1 participant 2 messages Mar 13, 2011 – Mar 25, 2011 PowerPC

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 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.

---
 arch/powerpc/cpu/mpc85xx/speed.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
arch/powerpc/cpu/mpc85xx/speed.c +1 -4
index 2caff4b..c4c156d 100644
@@ -196,10 +196,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 */
Signature · 1 line
1.7.2.3
author Applied
#1 lore raw

PATCH 1/1 powerpc/85xx: Fix determining Fman freq on P1023

Quoted 8 lines · Kumar Gala

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.

---
arch/powerpc/cpu/mpc85xx/speed.c | 5 +----

1 files changed, 1 insertions(+), 4 deletions(-)

applied to 85xx next

- k