summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2018-02-28 20:51:55 +0100
committerMaxime Ripard <maxime.ripard@bootlin.com>2018-04-03 12:11:43 +0200
commit6ddbb1e936c78cdef1e7395039fa7020c5c75326 (patch)
tree8eca7db7a8f584e8baef099fd9838a52c9ed4a13 /board
parent7440bd7885da984dc20e2e8c8a0b167911e9dce1 (diff)
downloadu-boot-6ddbb1e936c78cdef1e7395039fa7020c5c75326.tar.gz
spl: nand: sunxi: use PIO instead of DMA
SPL support was first written to support only the earlier generations of Allwinner SoCs, and was only really enabled on the A13 / GR8. However, those old SoCs had a DMA engine that has been replaced since the A31 by another DMA controller that is no longer compatible. Since the code directly uses that DMA controller, it cannot operate properly on the later SoCs, while the NAND controller has not changed. There's two paths forward, the first one would have been to add support for that DMA controller too, the second to just remove the DMA usage entirely and rely on PIO. The later has been chosen because CPU overload at this stage is not an issue and it makes the driver more generic, and easier to understand. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Acked-by: Boris Brezillon <boris.brezillon@bootlin.com> Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'board')
0 files changed, 0 insertions, 0 deletions