diff options
Diffstat (limited to 'cpu/arm926ejs/at91sam926x/spi.c')
-rw-r--r-- | cpu/arm926ejs/at91sam926x/spi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpu/arm926ejs/at91sam926x/spi.c b/cpu/arm926ejs/at91sam926x/spi.c index bd855283b92..185874ed3d6 100644 --- a/cpu/arm926ejs/at91sam926x/spi.c +++ b/cpu/arm926ejs/at91sam926x/spi.c @@ -98,7 +98,10 @@ void AT91F_SpiInit(void) { /* Reset the SPI */ AT91C_BASE_SPI0->SPI_CR = AT91C_SPI_SWRST; - +#ifdef CONFIG_AT91SAM9263EK + AT91C_BASE_SPI0->SPI_CR = AT91C_SPI_SWRST; +#endif + /* Configure SPI in Master Mode with No CS selected !!! */ AT91C_BASE_SPI0->SPI_MR = AT91C_SPI_MSTR | AT91C_SPI_MODFDIS | AT91C_SPI_PCS; |