SPI driver

Judau
Hello everyone,

I'm using micro2440 board with lCD W3.5". I've built my own image for this
board, now i want to port SPI driver to my image but i have some problem. I
have a driver from Domodom's website but i can't understand how its work.
Can anyone can explain it? 
One more thing, there is only SPI1 on micro2440. How do i do to reconfigure
 SPI. My board run as master mode with 12.5MHz frequency.

Thanks in advance,
Best regards, 
Judau