]> bbs.cooldavid.org Git - net-next-2.6.git/commit
clock-imx35: correct arm and ahb clock calculation
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 16 Aug 2010 13:54:06 +0000 (15:54 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 17 Aug 2010 07:23:54 +0000 (09:23 +0200)
commitc56702de106b4fde301282f7ea60412276481442
treeec7b84f97a5012c4d3ad0554feea45bee4e65f57
parentc96c1e394fa72bd995154af7143873945a3fa89d
clock-imx35: correct arm and ahb clock calculation

According to the Datasheet:
"i.MX35 (MCIMX35) Multimedia Applications Processor Reference Manual,
Rev. 2" "Figure 14-24. Clock Control And Gating"
change the result of get_rate_ahb based on the frequency returned
by get_rate_arm to calculate the proper rate.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx3/clock-imx35.c