From: Dirk Eibach Date: Fri, 10 Jul 2009 12:47:32 +0000 (+0200) Subject: ppc4xx: Fix missing freqOPB for 405EP X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9b1b8c8a1bf52e9b65e1958e5205838576066cbc;p=project%2Fbcm63xx%2Fu-boot.git ppc4xx: Fix missing freqOPB for 405EP In cpu/ppc4xx/speed.c initialization of sysInfo->freqOPB for 405EP was left out for no obvious reason. Signed-off-by: Dirk Eibach Signed-off-by: Stefan Roese --- diff --git a/cpu/ppc4xx/speed.c b/cpu/ppc4xx/speed.c index ed6e55b698..6cb93f3f17 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; }