summaryrefslogtreecommitdiff
path: root/board/advantech
diff options
context:
space:
mode:
authorWeijie Gao <weijie.gao@mediatek.com>2019-09-25 17:45:24 +0800
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>2019-10-25 17:20:44 +0200
commit54a6b8e793dd8baf1621cd0c5d6eeeaa542bb329 (patch)
treea40b0732817ad289b9b1e0785aaa1edacf3442f4 /board/advantech
parentf09978566b601a6377dfe56dd11da0df75ba9fd0 (diff)
spi: mt7621-spi: remove data cache and rewrite its xfer function
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. Reviewed-by: Stefan Roese <sr@denx.de> Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
Diffstat (limited to 'board/advantech')
0 files changed, 0 insertions, 0 deletions