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:
parent
2494174e04
commit
b09058bbf5
@ -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,
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user