diff options
author | Justin Waters <justin.waters@timesys.com> | 2008-06-16 13:31:33 -0400 |
---|---|---|
committer | Justin Waters <justin.waters@timesys.com> | 2008-06-16 13:31:33 -0400 |
commit | 251484cfb845d5d54c652a1801270ede1521ca6d (patch) | |
tree | d89611f0f7d9f1cd468c53d2cb122041db75b74a /cpu | |
parent | fc0717dc30824a3e0b9115c44787af7483e5aaa7 (diff) |
Update to Atmel's 1.7 patch for 1.1.51.1.5-at91-200806161731
This patch came from Atmel. It fixes a number of NAND issues, as well as the
9263 rev B SPI bug.
Signed-off-by: Justin Waters <justin.waters@timesys.com>
Diffstat (limited to 'cpu')
-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; |