public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ppc4xx: Fix missing freqOPB for 405EP
@ 2009-07-10 12:47 Dirk Eibach
  2009-07-20  8:41 ` Stefan Roese
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Eibach @ 2009-07-10 12:47 UTC (permalink / raw)
  To: u-boot

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

Signed-off-by: Dirk Eibach <eibach@gdsys.de>
---
 cpu/ppc4xx/speed.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/cpu/ppc4xx/speed.c b/cpu/ppc4xx/speed.c
index ed6e55b..6cb93f3 100644
--- a/cpu/ppc4xx/speed.c
+++ b/cpu/ppc4xx/speed.c
@@ -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;
 }
 
-- 
1.5.6.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] ppc4xx: Fix missing freqOPB for 405EP
  2009-07-10 12:47 [U-Boot] [PATCH] ppc4xx: Fix missing freqOPB for 405EP Dirk Eibach
@ 2009-07-20  8:41 ` Stefan Roese
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2009-07-20  8:41 UTC (permalink / raw)
  To: u-boot

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.
>
> Signed-off-by: Dirk Eibach <eibach@gdsys.de>

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
=====================================================================

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-20  8:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-10 12:47 [U-Boot] [PATCH] ppc4xx: Fix missing freqOPB for 405EP Dirk Eibach
2009-07-20  8:41 ` Stefan Roese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox