mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-20 08:38:24 +08:00
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>
This commit is contained in:
parent
c37cb56fb1
commit
46f3e88bd9
@ -30,6 +30,13 @@ config MTD_ONENAND_OMAP2
|
|||||||
Support for a OneNAND flash device connected to an OMAP2/OMAP3 CPU
|
Support for a OneNAND flash device connected to an OMAP2/OMAP3 CPU
|
||||||
via the GPMC memory controller.
|
via the GPMC memory controller.
|
||||||
|
|
||||||
|
config MTD_ONENAND_SAMSUNG
|
||||||
|
tristate "OneNAND on Samsung SOC controller support"
|
||||||
|
depends on MTD_ONENAND && (ARCH_S3C64XX || ARCH_S5PC100 || ARCH_S5PV210)
|
||||||
|
help
|
||||||
|
Support for a OneNAND flash device connected to an Samsung SOC
|
||||||
|
S3C64XX/S5PC1XX controller.
|
||||||
|
|
||||||
config MTD_ONENAND_OTP
|
config MTD_ONENAND_OTP
|
||||||
bool "OneNAND OTP Support"
|
bool "OneNAND OTP Support"
|
||||||
select HAVE_MTD_OTP
|
select HAVE_MTD_OTP
|
||||||
|
@ -8,6 +8,7 @@ obj-$(CONFIG_MTD_ONENAND) += onenand.o
|
|||||||
# Board specific.
|
# Board specific.
|
||||||
obj-$(CONFIG_MTD_ONENAND_GENERIC) += generic.o
|
obj-$(CONFIG_MTD_ONENAND_GENERIC) += generic.o
|
||||||
obj-$(CONFIG_MTD_ONENAND_OMAP2) += omap2.o
|
obj-$(CONFIG_MTD_ONENAND_OMAP2) += omap2.o
|
||||||
|
obj-$(CONFIG_MTD_ONENAND_SAMSUNG) += samsung.o
|
||||||
|
|
||||||
# Simulator
|
# Simulator
|
||||||
obj-$(CONFIG_MTD_ONENAND_SIM) += onenand_sim.o
|
obj-$(CONFIG_MTD_ONENAND_SIM) += onenand_sim.o
|
||||||
|
1071
drivers/mtd/onenand/samsung.c
Normal file
1071
drivers/mtd/onenand/samsung.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user