spi: spi-fsl-dspi: set ColdFire to DMA mode

Set DMA transfer mode for ColdFire.

After recent fixes to fsl edma engine, this mode can be used
also for ColdFire, and from some raw mtd r/w tests it definitely
improves the transfer rate, so keeping it selected.

Signed-off-by: Angelo Dureghello <angelo.dureghello@timesys.com>
Link: https://lore.kernel.org/r/20200816094635.1830006-1-angelo.dureghello@timesys.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Angelo Dureghello 2020-08-16 11:46:35 +02:00 committed by Mark Brown
parent 2494174e04
commit b09058bbf5
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -189,7 +189,7 @@ static const struct fsl_dspi_devtype_data devtype_data[] = {
.fifo_size = 4,
},
[MCF5441X] = {
.trans_mode = DSPI_EOQ_MODE,
.trans_mode = DSPI_DMA_MODE,
.max_clock_factor = 8,
.fifo_size = 16,
},