Hi Sergei,

[...]
Yes. And I don't see how different CSs are handled by your code. The device always has CS0 space as a resource.

Correct.  And that's the bug I'd referred to in my first response:

[...]
> That aside, there is a bug in this code - it incorrectly uses chipsel0
> window regardless of the chipsel index indicated by the board.  This
> will be fixed in the next rev.
[...]

Please see above, index in the nand_config array is the chip select.
Ah, indeed -- that wasn't obvious -- I rather expected to see something in the platfrom data...

Hence the need for a comment in the initializer :-)

Regards
Cyril.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to