[PATCH 1/2] ARM: move SPEAr to use common mult/shift calculation code
From: shiraz hashim <hidden>
Date: 2010-07-19 13:11:03
From: shiraz hashim <hidden>
Date: 2010-07-19 13:11:03
Hello Viresh, Linus On Fri, May 28, 2010 at 11:03 PM, Linus Walleij [off-list ref] wrote:
Since the infrastructure for determining shift/mult values from a clock rate and a minimum programmable rate is now in the kernel, lets remove this custom code. Cc: Viresh KUMAR <redacted> Signed-off-by: Linus Walleij <redacted> --- Viresh: I cannot test this change, but I have compiled it against spear600_defconfig. You'd have to test it and Acked-by: it before I do anything else with it. Try to think about what a minimum range would be for the generic SPEAr platform...
I have applied the patch and tested the same, it works fine on spear platforms. The timer on spear platforms is 16 bit only (say with min. functional freq as 187500 HZ.). With these values the resolution of the timer is not much so what should be the good value of SPEAR_MIN_RANGE. Tested-by: Shiraz Hashim <redacted> -- regards Shiraz Hashim