Amit Kucheria amit.kucheria@linaro.org writes:
On 11 Feb 08, Yong Shen wrote:
Hi Arnaud,
I also took a while to think about this before posting patches. I prefer to put it in board related code since the various PMIC used on each boards may have influence on cpuidle latency or other charactors, although it could be minor.
Then those minor differences can be addressed in the common driver by using #ifdef conditionals.
The cpuidle driver certainly shouldn't be board-specific.
agreed, except on #ifdef. One should be able to build one kernel for several imx51 boards and #ifdef will probably prevent that.
Arnaud