]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ppc4xx: Fix missing freqOPB for 405EP
authorDirk Eibach <eibach@gdsys.de>
Fri, 10 Jul 2009 12:47:32 +0000 (14:47 +0200)
committerStefan Roese <sr@denx.de>
Fri, 24 Jul 2009 04:42:31 +0000 (06:42 +0200)
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>
Signed-off-by: Stefan Roese <sr@denx.de>
cpu/ppc4xx/speed.c

index ed6e55b698c6ab10235c0b1470109e687a094070..6cb93f3f1789956fcaee864ce705bafcd941ea5e 100644 (file)
@@ -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;
 }