Hello,

I am trying to understand the logic behind the implementation of SPI
interface, and came across a validity routine (for different baords it is
about the same):

for Atmel and Davinci for example:

int spi_cs_is_valid(unsigned int bus, unsigned int cs)
{
 return bus == 0 && cs == 0;
}

Althout atmel and davinci can have more then one spi port, it seems that
they will fail in configuration if bus is different then 0.
I wander if any one can solve this issue for me.

Many Thanks,

Ran
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to