Skip to content

Commit 36cd4fb

Browse files
Adrian HunterDavid Woodhouse
authored andcommitted
[MTD] [OneNAND] Add OMAP2 / OMAP3 OneNAND driver
This driver had resided in the OMAP tree but is now to be in MTD. Original authors were: Jarkko Lavinen <jarkko.lavinen@nokia.com> and Juha Yrjölä IRQ and DMA support written by Timo Teras Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
1 parent bb0eb21 commit 36cd4fb

File tree

4 files changed

+791
-1
lines changed

4 files changed

+791
-1
lines changed

drivers/mtd/onenand/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,13 @@ config MTD_ONENAND_GENERIC
2727
help
2828
Support for OneNAND flash via platform device driver.
2929

30+
config MTD_ONENAND_OMAP2
31+
tristate "OneNAND on OMAP2/OMAP3 support"
32+
depends on MTD_ONENAND && (ARCH_OMAP2 || ARCH_OMAP3)
33+
help
34+
Support for a OneNAND flash device connected to an OMAP2/OMAP3 CPU
35+
via the GPMC memory controller.
36+
3037
config MTD_ONENAND_OTP
3138
bool "OneNAND OTP Support"
3239
select HAVE_MTD_OTP

drivers/mtd/onenand/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ obj-$(CONFIG_MTD_ONENAND) += onenand.o
77

88
# Board specific.
99
obj-$(CONFIG_MTD_ONENAND_GENERIC) += generic.o
10+
obj-$(CONFIG_MTD_ONENAND_OMAP2) += omap2.o
1011

1112
# Simulator
1213
obj-$(CONFIG_MTD_ONENAND_SIM) += onenand_sim.o

0 commit comments

Comments
 (0)