diff options
author | Dirk Eibach <eibach@gdsys.de> | 2009-07-10 12:47:32 (GMT) |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2009-07-24 04:42:31 (GMT) |
commit | 9b1b8c8a1bf52e9b65e1958e5205838576066cbc (patch) | |
tree | ce2566da07df059b730768ece7a9916f0f60554d /cpu/ppc4xx | |
parent | 0a371ca08908c9b2a58171223a79bffea1f7c6f5 (diff) | |
download | u-boot-9b1b8c8a1bf52e9b65e1958e5205838576066cbc.tar.xz |
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.c | 2 |
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; } |