From: Matthias Fuchs Date: Fri, 18 Apr 2008 15:24:32 +0000 (+0200) Subject: ppc4xx: Fix sys_get_info() for 405GP(r) X-Git-Tag: v1.3.3-rc1~41^2~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e1d09680f64b452adde89ed9fe28a77c56bedc9a;p=u-boot 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 --- 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; }