summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx
diff options
context:
space:
mode:
authorDirk Eibach <eibach@gdsys.de>2009-07-10 14:47:32 +0200
committerStefan Roese <sr@denx.de>2009-07-24 06:42:31 +0200
commit9b1b8c8a1bf52e9b65e1958e5205838576066cbc (patch)
treece2566da07df059b730768ece7a9916f0f60554d /cpu/ppc4xx
parent0a371ca08908c9b2a58171223a79bffea1f7c6f5 (diff)
downloadu-boot-imx-9b1b8c8a1bf52e9b65e1958e5205838576066cbc.zip
u-boot-imx-9b1b8c8a1bf52e9b65e1958e5205838576066cbc.tar.gz
u-boot-imx-9b1b8c8a1bf52e9b65e1958e5205838576066cbc.tar.bz2
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 <eibach@gdsys.de> Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'cpu/ppc4xx')
-rw-r--r--cpu/ppc4xx/speed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/ppc4xx/speed.c b/cpu/ppc4xx/speed.c
index ed6e55b..6cb93f3 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;
}