]> git.sur5r.net Git - u-boot/commit
Exynos: Fix ARM Clock frequency calculation
authorChander Kashyap <chander.kashyap@linaro.org>
Sun, 18 Dec 2011 22:56:44 +0000 (22:56 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sun, 12 Feb 2012 09:11:28 +0000 (10:11 +0100)
commitdb68bc2c2de15c6e5066427a2e5024667d886b9a
tree3313a4997fa793227485a1b26592a4b536dc12ca
parente619a0de936f52b7d57dd56e05139cb474baa18c
Exynos: Fix ARM Clock frequency calculation

Earliar ARM clock frequency was calculated by:
MOUTAPLL/(DIVAPLL + 1) which is actually returning SCLKAPLL.
It is fixed by calculating it as follows:
ARMCLK=MOUTCORE / (DIVCORE + 1) / (DIVCORE2 + 1)

Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/armv7/exynos/clock.c