> It seems that currently both atmel & davinci boards supports only 1 spi > instance at a time. > > In order to support different spi instances, > In case of atmel declare SPIx_BASE as required & set CONFIG_DEFAULT_SPI_BUS > to required bus > In case of davinci set CONFIG_SYS_SPI_BASE to base address of required spi > instance > > Also, spi_cs_is_valid() function needs to be updated to support different > spi instances. spi_cs_is_valid() function is board dependednt. > > Hope this helps. > > Regards, > Gururaja >
Hi Gururaja, It seems that the implementation limit the validity only for bus==0. This means that trying other bus(=spi port ?) will fail even if its not at the same time. In addition to that the CPU's data sheet make no limit. Best Regards, Ran
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot