[U-Boot] [PATCH] ppc4xx: Fix missing freqOPB for 405EP
Dirk Eibach
eibach at gdsys.de
Fri Jul 10 14:47:32 CEST 2009
In cpu/ppc4xx/speed.c initialization of sysInfo->freqOPB for 405EP was
left out for no obvious reason.
Signed-off-by: Dirk Eibach <eibach at gdsys.de>
---
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;
}
--
1.5.6.5
More information about the U-Boot
mailing list