mtd: onenand: omap2: Unify OMAP2 and OMAP3 DMA implementation
authorLadislav Michl <ladis@linux-mips.org>
Fri, 12 Jan 2018 13:15:45 +0000 (14:15 +0100)
committerBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 12 Jan 2018 14:34:19 +0000 (15:34 +0100)
commitfb25070afdf07cc62282c27357dc30ef3d7ef262
treed8f3e41599dbd0c1ee02e5621a1f3362ae9f8a3f
parent3621311695f5b1a9396ae95098ac904328eefde7
mtd: onenand: omap2: Unify OMAP2 and OMAP3 DMA implementation

Since the very first commit (36cd4fb5d277: "[MTD] [OneNAND] Add
OMAP2 / OMAP3 OneNAND driver") DMA is disabled for OMAP2. Later
fixes thus went only into OMAP3 specific DMA functions which
turned out not to be so OMAP3 specific, so merge those two
implementations.

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Acked-by: Roger Quadros <rogerq@ti.com>
Tested-by: Tony Lindgren <tony@atomide.com>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
drivers/mtd/onenand/omap2.c