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