I believe this question is a bit more general but here is how it goes :
I have read this article about using pandaboard's SPI, especially the part "Configuring and patching the kernel".
It says that you have to edit the driver to use the SPI, by telling the driver what bus you want to use, and I don't really understand why we would need to do so.
If we are compiling the kernel, we specify the
omap...) and so I guess that since the toolchain knows what is the target processor, it knows what are the pin numbers of the SPI (clock, miso, mosi, ...).
So what am I missing here ? Why do we need extra configuration ?