blob: b94a61b670d12fdb56e628b0d64fae70ce844aa6 [file] [log] [blame]
Kyungmin Parkcd5f6342005-07-11 11:41:53 +01001#
2# linux/drivers/mtd/onenand/Kconfig
3#
4
Jan Engelhardtec98c682007-04-19 16:21:41 -05005menuconfig MTD_ONENAND
Kyungmin Parkcd5f6342005-07-11 11:41:53 +01006 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
Kyungmin Parkc19df272007-04-25 11:05:48 +010011 <http://www.samsung.com/Products/Semiconductor/OneNAND/index.htm>
Kyungmin Parkcd5f6342005-07-11 11:41:53 +010012
Jan Engelhardtec98c682007-04-19 16:21:41 -050013if MTD_ONENAND
14
Kyungmin Parkcd5f6342005-07-11 11:41:53 +010015config MTD_ONENAND_VERIFY_WRITE
16 bool "Verify OneNAND page writes"
Kyungmin Parkcd5f6342005-07-11 11:41:53 +010017 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
Matt LaPlante09509602006-10-03 22:31:37 +020022 flipped accidentally due to device wear or something else.
Kyungmin Parkcd5f6342005-07-11 11:41:53 +010023
Kyungmin Park68ee4b12005-09-09 07:39:50 +010024config MTD_ONENAND_GENERIC
Thomas Gleixner46d0d0f2005-11-07 01:14:05 +010025 tristate "OneNAND Flash device via platform device driver"
Jan Engelhardtec98c682007-04-19 16:21:41 -050026 depends on ARM
Kyungmin Park68ee4b12005-09-09 07:39:50 +010027 help
Thomas Gleixner46d0d0f2005-11-07 01:14:05 +010028 Support for OneNAND flash via platform device driver.
Kyungmin Park68ee4b12005-09-09 07:39:50 +010029
Kyungmin Park493c6462006-05-12 17:03:07 +030030config MTD_ONENAND_OTP
31 bool "OneNAND OTP Support"
David Brownell34a82442008-07-30 12:35:05 -070032 select HAVE_MTD_OTP
Kyungmin Park493c6462006-05-12 17:03:07 +030033 help
34 One Block of the NAND Flash Array memory is reserved as
35 a One-Time Programmable Block memory area.
36 Also, 1st Block of NAND Flash Array can be used as OTP.
37
38 The OTP block can be read, programmed and locked using the same
39 operations as any other NAND Flash Array memory block.
40 OTP block cannot be erased.
41
42 OTP block is fully-guaranteed to be a valid block.
43
Kyungmin Parkee9745f2007-06-30 13:57:49 +090044config MTD_ONENAND_2X_PROGRAM
45 bool "OneNAND 2X program support"
46 help
47 The 2X Program is an extension of Program Operation.
48 Since the device is equipped with two DataRAMs, and two-plane NAND
49 Flash memory array, these two component enables simultaneous program
50 of 4KiB. Plane1 has only even blocks such as block0, block2, block4
51 while Plane2 has only odd blocks such as block1, block3, block5.
52 So MTD regards it as 4KiB page size and 256KiB block size
53
54 Now the following chips support it. (KFXXX16Q2M)
55 Demux: KFG2G16Q2M, KFH4G16Q2M, KFW8G16Q2M,
56 Mux: KFM2G16Q2M, KFN4G16Q2M,
57
58 And more recent chips
59
Kyungmin Park8dab1692007-06-30 14:14:43 +090060config MTD_ONENAND_SIM
61 tristate "OneNAND simulator support"
62 depends on MTD_PARTITIONS
63 help
64 The simulator may simulate various OneNAND flash chips for the
65 OneNAND MTD layer.
66
Jan Engelhardtec98c682007-04-19 16:21:41 -050067endif # MTD_ONENAND