Skip to contentSkip to conversation

ppc4xx: Fix missing freqOPB for 405EP

PATCH New Dirk Eibach 2 participants 2 messages Jul 10, 2009 – Jul 20, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppc4xx: Fix missing freqOPB for 405EP

In cpu/ppc4xx/speed.c initialization of sysInfo->freqOPB for 405EP was left out for no obvious reason.

---
 cpu/ppc4xx/speed.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
cpu/ppc4xx/speed.c +2 -0
index ed6e55b..6cb93f3 100644
@@ -867,6 +867,8 @@ void get_sys_info (PPC4xx_SYS_INFO * sysInfo)
 
 	sysInfo->freqEBC = sysInfo->freqPLB / sysInfo->pllExtBusDiv;
 
+	sysInfo->freqOPB = sysInfo->freqPLB / sysInfo->pllOpbDiv;
+
 	sysInfo->freqUART = sysInfo->freqProcessor * pllmr0_ccdv;
 }
 
Signature · 1 line
1.5.6.5
Applied
#1 lore raw

PATCH 1/1 ppc4xx: Fix missing freqOPB for 405EP

Quoted 4 lines · On Friday 10 July 2009 14:47:32 Dirk Eibach wrote:

In cpu/ppc4xx/speed.c initialization of sysInfo->freqOPB for 405EP was left out for no obvious reason.

Applied to ppc4xx. Thanks.

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================