SAM3,4,A5 DMA fixes; SAMA5 SPI driver now supports DMA transfers

This commit is contained in:
Gregory Nutt 2013-08-09 13:12:16 -06:00
parent f468fb857d
commit 42fe927004
2 changed files with 11 additions and 0 deletions

View File

@ -987,6 +987,16 @@ Configurations
CONFIG_SAMA5_AT25_AUTOMOUNT=y : Mounts AT25 for NSH
CONFIG_SAMA5_AT25_FTL=y : Create block driver for FAT
The SPI driver can be built to do polled or DMA SPI data transfers.
The following additional changes will enable SPI DMA:
System Type -> SAMA5 Peripheral Support
CONFIG_SAMA5_DMAC0=y : Enable DMA controller 0
System Type -> SPI device driver options
CONFIG_SAMA5_SPI_DMA=y : Use DMA for SPI transfers
CONFIG_SAMA5_SPI_DMATHRESHOLD=4 : Don't DMA for small transfers
NOTE that you must close JP1 on the Embest/Ronetix board in
order to enable the AT25 FLASH chip select.

View File

@ -114,6 +114,7 @@ int nsh_archinitialize(void)
{
fdbg("ERROR: sam_at25_initialize failed: %d\n", ret);
return ret;
}
#endif
#ifdef HAVE_HSMCI_MTD