From e1d09680f64b452adde89ed9fe28a77c56bedc9a Mon Sep 17 00:00:00 2001 From: Matthias Fuchs Date: Fri, 18 Apr 2008 17:24:32 +0200 Subject: [PATCH] ppc4xx: Fix sys_get_info() for 405GP(r) 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 --- cpu/ppc4xx/speed.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpu/ppc4xx/speed.c b/cpu/ppc4xx/speed.c index fa799529d3..05b42fec97 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; } -- 2.30.2