1menuconfig MTD_ONENAND
2	tristate "OneNAND Device Support"
3	depends on MTD
4	help
5	  This enables support for accessing all type of OneNAND flash
6	  devices. For further information see
7	  <http://www.samsung.com/Products/Semiconductor/OneNAND/index.htm>
8
9if MTD_ONENAND
10
11config MTD_ONENAND_VERIFY_WRITE
12	bool "Verify OneNAND page writes"
13	help
14	  This adds an extra check when data is written to the flash. The
15	  OneNAND flash device internally checks only bits transitioning
16	  from 1 to 0. There is a rare possibility that even though the
17	  device thinks the write was successful, a bit could have been
18	  flipped accidentally due to device wear or something else.
19
20config MTD_ONENAND_GENERIC
21	tristate "OneNAND Flash device via platform device driver"
22	help
23	  Support for OneNAND flash via platform device driver.
24
25config MTD_ONENAND_OMAP2
26	tristate "OneNAND on OMAP2/OMAP3 support"
27	depends on ARCH_OMAP2 || ARCH_OMAP3
28	help
29	  Support for a OneNAND flash device connected to an OMAP2/OMAP3 CPU
30	  via the GPMC memory controller.
31
32config MTD_ONENAND_SAMSUNG
33        tristate "OneNAND on Samsung SOC controller support"
34        depends on ARCH_S3C64XX || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS4
35        help
36          Support for a OneNAND flash device connected to an Samsung SOC.
37          S3C64XX/S5PC100 use command mapping method.
38          S5PC110/S5PC210 use generic OneNAND method.
39
40config MTD_ONENAND_OTP
41	bool "OneNAND OTP Support"
42	select HAVE_MTD_OTP
43	help
44	  One Block of the NAND Flash Array memory is reserved as
45	  a One-Time Programmable Block memory area.
46	  Also, 1st Block of NAND Flash Array can be used as OTP.
47
48	  The OTP block can be read, programmed and locked using the same
49	  operations as any other NAND Flash Array memory block.
50	  OTP block cannot be erased.
51
52	  OTP block is fully-guaranteed to be a valid block.
53
54config MTD_ONENAND_2X_PROGRAM
55	bool "OneNAND 2X program support"
56	help
57	  The 2X Program is an extension of Program Operation.
58	  Since the device is equipped with two DataRAMs, and two-plane NAND
59	  Flash memory array, these two component enables simultaneous program
60	  of 4KiB. Plane1 has only even blocks such as block0, block2, block4
61	  while Plane2 has only odd blocks such as block1, block3, block5.
62	  So MTD regards it as 4KiB page size and 256KiB block size
63
64	  Now the following chips support it. (KFXXX16Q2M)
65	    Demux: KFG2G16Q2M, KFH4G16Q2M, KFW8G16Q2M,
66	    Mux:   KFM2G16Q2M, KFN4G16Q2M,
67
68	  And more recent chips
69
70config MTD_ONENAND_SIM
71	tristate "OneNAND simulator support"
72	help
73	  The simulator may simulate various OneNAND flash chips for the
74	  OneNAND MTD layer.
75
76endif # MTD_ONENAND
77