[PATCH 1/2] mtd: mtk-quadspi: add support for memory-mapped flash reading

Chuanhong Guo gch981213 at gmail.com
Thu Nov 7 19:52:06 PST 2019


Hi all!

On Wed, Nov 6, 2019 at 10:08 PM Chuanhong Guo <gch981213 at gmail.com> wrote:
>
> PIO reading mode on this controller is ridiculously inefficient
> (one cmd+addr+dummy sequence reads only one byte)
> This patch adds support for reading from memory-mapped flash area
> which increases reading speed from 1MB/s to 5.6MB/s
>
> Signed-off-by: Chuanhong Guo <gch981213 at gmail.com>
> ---
>  drivers/mtd/spi-nor/mtk-quadspi.c | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>

I'll abandon this patchset and implement DMA reading instead.

Regards,
Chuanhong Guo



More information about the linux-mtd mailing list