diff options
author | Dirk Eibach | 2009-07-10 14:47:32 +0200 |
---|---|---|
committer | Stefan Roese | 2009-07-24 06:42:31 +0200 |
commit | 9b1b8c8a1bf52e9b65e1958e5205838576066cbc (patch) | |
tree | ce2566da07df059b730768ece7a9916f0f60554d /cpu | |
parent | 0a371ca08908c9b2a58171223a79bffea1f7c6f5 (diff) |
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')
-rw-r--r-- | cpu/ppc4xx/speed.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu/ppc4xx/speed.c b/cpu/ppc4xx/speed.c index ed6e55b698c..6cb93f3f178 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; } |