Skip to content

Commit 46f3e88

Browse files
kyungmin-parkDavid Woodhouse
authored andcommitted
mtd: add Samsung SoC OneNAND driver
This patch adds a driver for OneNAND controller on Samsung SoCs. Following SoCs are supported: S3C6400, S3C6410, S5PC100 and S5PC110. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
1 parent c37cb56 commit 46f3e88

3 files changed

Lines changed: 1079 additions & 0 deletions

File tree

‎drivers/mtd/onenand/Kconfig‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ config MTD_ONENAND_OMAP2
3030
Support for a OneNAND flash device connected to an OMAP2/OMAP3 CPU
3131
via the GPMC memory controller.
3232

33+
config MTD_ONENAND_SAMSUNG
34+
tristate "OneNAND on Samsung SOC controller support"
35+
depends on MTD_ONENAND && (ARCH_S3C64XX || ARCH_S5PC100 || ARCH_S5PV210)
36+
help
37+
Support for a OneNAND flash device connected to an Samsung SOC
38+
S3C64XX/S5PC1XX controller.
39+
3340
config MTD_ONENAND_OTP
3441
bool "OneNAND OTP Support"
3542
select HAVE_MTD_OTP

‎drivers/mtd/onenand/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ obj-$(CONFIG_MTD_ONENAND) += onenand.o
88
# Board specific.
99
obj-$(CONFIG_MTD_ONENAND_GENERIC) += generic.o
1010
obj-$(CONFIG_MTD_ONENAND_OMAP2) += omap2.o
11+
obj-$(CONFIG_MTD_ONENAND_SAMSUNG) += samsung.o
1112

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

0 commit comments

Comments
 (0)