Hi,
On Wed, Apr 06, 2011 at 15:02:22, Ran Shalit wrote:
>
>
> 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
> 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 addre
Hi,
On Wed, Apr 06, 2011 at 11:22:13, Ran Shalit wrote:
> 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_val
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;
}
Altho
4 matches
Mail list logo