[PATCH 1/2] ARM: move SPEAr to use common mult/shift calculation code
From: Linus Walleij <hidden>
Date: 2010-07-19 18:19:03
From: Linus Walleij <hidden>
Date: 2010-07-19 18:19:03
2010/7/19 shiraz hashim [off-list ref]:
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.
I've set it to 4 seconds, it will scale properly to assure the system will get as much resolution as possible while still being able to sleep for 4 seconds. 187 kHz is quite slow anyway.
Tested-by: Shiraz Hashim <redacted>
Thanks! Yours, Linus Walleij