summaryrefslogtreecommitdiff
path: root/drivers/mtd/onenand/Kconfig
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2018-01-12 16:17:25 +0300
committerBoris Brezillon <boris.brezillon@free-electrons.com>2018-01-12 18:41:15 +0300
commita758f50f10cfcf863f95372ff52e0d8d22fda9ba (patch)
tree294a2badeec6d690b68db82d8dbd29637c6edec7 /drivers/mtd/onenand/Kconfig
parentbdaca9345d41fd9420995469d27603ea62054691 (diff)
downloadlinux-a758f50f10cfcf863f95372ff52e0d8d22fda9ba.tar.xz
mtd: onenand: omap2: Configure driver from DT
Move away from platform data configuration and use pure DT approach. Use generic probe function to deal with OneNAND node and remove now useless gpmc_probe_onenand_child function. Import sync mode timing calculation function from mach-omap2/gpmc-onenand.c Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Tested-by: Tony Lindgren <tony@atomide.com> Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi> Acked-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'drivers/mtd/onenand/Kconfig')
-rw-r--r--drivers/mtd/onenand/Kconfig4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/Kconfig b/drivers/mtd/onenand/Kconfig
index aaeb30458139..9dc15748947b 100644
--- a/drivers/mtd/onenand/Kconfig
+++ b/drivers/mtd/onenand/Kconfig
@@ -25,9 +25,11 @@ config MTD_ONENAND_GENERIC
config MTD_ONENAND_OMAP2
tristate "OneNAND on OMAP2/OMAP3 support"
depends on ARCH_OMAP2 || ARCH_OMAP3
+ depends on OF || COMPILE_TEST
help
- Support for a OneNAND flash device connected to an OMAP2/OMAP3 CPU
+ Support for a OneNAND flash device connected to an OMAP2/OMAP3 SoC
via the GPMC memory controller.
+ Enable dmaengine and gpiolib for better performance.
config MTD_ONENAND_SAMSUNG
tristate "OneNAND on Samsung SOC controller support"