Re: [PATCH 0/3] Using SPI NOR flah on sunxi.

From: Thomas . Betker
Date: Thu Apr 30 2015 - 12:46:14 EST


Hello Michal:

> I tried to connect a SPI NOR flash to my sunxi board and due to the
current
> sunxi SPI driver limitations it does not work.
>
> The SPI driver returns an error when more than 64 bytes are
> transferred at once
> due to lack of DMA support.

Wouldn't it be easier to fix the SPI driver to handle transfers larger
than 64 bytes, filling and draining the FIFO multiple times if neccessary?
(As far as I can tell, most SPI drivers do this.)

Just asking,
Thomas
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/