OSDN Git Service

mtd: rawnand: sunxi: Add A23/A33 DMA support with extra MBUS configuration
authorMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 8 Apr 2019 07:41:46 +0000 (09:41 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 5 Jul 2019 20:30:58 +0000 (22:30 +0200)
commitc7a87ceb17aee9222c069a97aee4647260c7b3a6
treedf674985e61420d2e06abebd37588377d83f4964
parent4f032640bf5751ce792b69d2abdf18e0f379b3ce
mtd: rawnand: sunxi: Add A23/A33 DMA support with extra MBUS configuration

Allwinner NAND controllers can make use of DMA to enhance the I/O
throughput thanks to ECC pipelining. DMA handling with A23/A33 NAND IP
is a bit different than with the older SoCs, hence the introduction of
a new compatible to handle:
* the differences between register offsets,
* the burst length change from 4 to minimum 8,
* manage SRAM accesses through MBUS with extra configuration.

Fixes: c49836f05aa1 ("mtd: rawnand: sunxi: Add A23/A33 DMA support")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/sunxi_nand.c