summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-07-09 00:48:33 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-09-01 14:58:16 +0200
commit7c5e6f7a5ddc1643300ce0be2a2a8283f4a797f7 (patch)
treec28aa6ade5a9ad28972de815648f82104796942c /arch
parentccd4d5a0d484c929bf78772f0a5f8dfd91e078ab (diff)
downloadu-boot-imx-7c5e6f7a5ddc1643300ce0be2a2a8283f4a797f7.zip
u-boot-imx-7c5e6f7a5ddc1643300ce0be2a2a8283f4a797f7.tar.gz
u-boot-imx-7c5e6f7a5ddc1643300ce0be2a2a8283f4a797f7.tar.bz2
MX28: SPI: Add DMA transfer support
The DMA transfers happen only if the transfered data are larger than 512 bytes. Otherwise PIO is used. This is a small speed optimization. The DMA transfer doesn't work if unaligned transfer is requested due to the limitation of the DMA controller. This has to be fixed by introducing generic bounce buffer. Therefore the DMA feature is now disabled by default. Signed-off-by: Marek Vasut <marex@denx.de> Cc: Fabio Estevam <festevam@gmail.com> Cc: Otavio Salvador <otavio@ossystems.com.br> Cc: Stefano Babic <sbabic@denx.de> Cc: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions