public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH] 4xx: fix sys_get_info() for 405GP(r)
@ 2008-04-18 15:24 Matthias Fuchs
  2008-04-18 16:12 ` Stefan Roese
  0 siblings, 1 reply; 2+ messages in thread
From: Matthias Fuchs @ 2008-04-18 15:24 UTC (permalink / raw)
  To: u-boot

This patch assigns the correct EBC clock for 405GP(r) CPUs
to PPC4xx_SYS_INFO structure. Without this patch U-Boot
uses an uninitialized EBC clock in its startup message.

Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
---
 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 fa79952..05b42fe 100644
--- a/cpu/ppc4xx/speed.c
+++ b/cpu/ppc4xx/speed.c
@@ -165,6 +165,8 @@ void get_sys_info (PPC4xx_SYS_INFO * sysInfo)
 		}
 	}
 
+	sysInfo->freqEBC = sysInfo->freqPLB / sysInfo->pllExtBusDiv;
+
 	sysInfo->freqUART = sysInfo->freqProcessor;
 }
 
-- 
1.5.3

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

* [U-Boot-Users] [PATCH] 4xx: fix sys_get_info() for 405GP(r)
  2008-04-18 15:24 [U-Boot-Users] [PATCH] 4xx: fix sys_get_info() for 405GP(r) Matthias Fuchs
@ 2008-04-18 16:12 ` Stefan Roese
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Roese @ 2008-04-18 16:12 UTC (permalink / raw)
  To: u-boot

On Friday 18 April 2008, Matthias Fuchs wrote:
> This patch assigns the correct EBC clock for 405GP(r) CPUs
> to PPC4xx_SYS_INFO structure. Without this patch U-Boot
> uses an uninitialized EBC clock in its startup message.

Added to u-boot-ppc4xx custodian repo. 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:[~2008-04-18 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-18 15:24 [U-Boot-Users] [PATCH] 4xx: fix sys_get_info() for 405GP(r) Matthias Fuchs
2008-04-18 16:12 ` Stefan Roese

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