[PATCH 3/4] omap: move detection of NAND CS to common-board-devices

Oleg Drokin green at linuxhacker.ru
Wed May 4 11:54:28 EDT 2011


Hello!

On May 4, 2011, at 2:38 AM, Mike Rapoport wrote:

> On 05/04/11 07:10, Oleg Drokin wrote:
>> Ok, so here's a simple patch to save everyone trouble, I guess.
>> 
>> Though on the other hand I can imagine that perhaps including this generic common-board-devices.c
>> might not be desirable for people that don't use anything from that file.
> Since the common-board-devices.c has TWL initialization I doubt there would a
> board that does not use it at all...

Actually the twl init you have is somewhat inflexible.
E.g. on the Nook Color the 1st i2c bus has the twl and some other devices, but I don't see how
to put more than just the twl on the first bus with your common code.

Bye,
    Oleg


More information about the linux-arm-kernel mailing list