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