[U-Boot] [PATCH 05/26] spi: mt7621-spi: remove data cache and rewrite its xfer function
Stefan Roese
sr at denx.de
Wed Aug 28 07:55:25 UTC 2019
On 28.08.19 08:37, Weijie Gao wrote:
> The mt7621 spi controller supports continuous generic half-duplex spi
> transaction. There is no need to cache xfer data at all.
>
> To achieve this goal, the OPADDR register must be used as the first data
> to be sent. And follows the eight generic DIDO registers. But one thing
> different between OPADDR and DIDO registers is OPADDR has a reversed byte
> order.
>
> With this patch, any amount of data can be read/written in a single xfer
> function call.
>
> Signed-off-by: Weijie Gao <weijie.gao at mediatek.com>
Very nice, thanks for all your work here.
Reviewed-by: Stefan Roese <sr at denx.de>
Thanks,
Stefan
More information about the U-Boot
mailing list