[PATCH 2/2] ARM: iMX5 BBG: add cpuidle driver parameters
Amit Kucheria
amit.kucheria at linaro.org
Tue Feb 8 12:40:51 EST 2011
On 11 Feb 08, Arnaud Patard wrote:
> 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.
You're right. I should've said runtime detection.
More information about the linux-arm-kernel
mailing list