From 9b1b8c8a1bf52e9b65e1958e5205838576066cbc Mon Sep 17 00:00:00 2001 From: Dirk Eibach Date: Fri, 10 Jul 2009 14:47:32 +0200 Subject: [PATCH] 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 Signed-off-by: Stefan Roese --- cpu/ppc4xx/speed.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpu/ppc4xx/speed.c b/cpu/ppc4xx/speed.c index ed6e55b698..6cb93f3f17 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; } -- 2.39.5