From: Oskar Schirmer Date: Thu, 17 Feb 2011 15:43:02 +0000 (+0100) Subject: arm: tcc8k: Fix bus clock calculation X-Git-Tag: v2.6.39-rc1~434^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f91f9cd505f92e4227ffda7e5799a33d4f34bf36;p=pandora-kernel.git arm: tcc8k: Fix bus clock calculation There are two dividers used to derive bus clock from system clock: system clock is divided by SCKDIV+1, then by BCKDIV+1. SCKDIV divider has been ignored up to now, which is no problem as long as it is 0. Take SCKDIV into account for bus clock calculation. Signed-off-by: Oskar Schirmer Cc: bigeasy@linutronix.de Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed