[PATCH 2/2] ARM: iMX5 BBG: add cpuidle driver parameters

Arnaud Patard (Rtp) arnaud.patard at rtp-net.org
Tue Feb 8 12:24:57 EST 2011


Amit Kucheria <amit.kucheria at 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



More information about the linux-arm-kernel mailing list