blob: 91467bb036341fe52f84a5db00c7664365d0abb9 [file] [log] [blame]
Jan Engelhardtec98c682007-04-19 16:21:41 -05001menuconfig MTD_ONENAND
Kyungmin Parkcd5f6342005-07-11 11:41:53 +01002 tristate "OneNAND Device Support"
3 depends on MTD
Richard Weinberger9310da02012-02-07 01:22:50 +01004 depends on HAS_IOMEM
Kyungmin Parkcd5f6342005-07-11 11:41:53 +01005 help
6 This enables support for accessing all type of OneNAND flash
7 devices. For further information see
Kyungmin Parkc19df272007-04-25 11:05:48 +01008 <http://www.samsung.com/Products/Semiconductor/OneNAND/index.htm>
Kyungmin Parkcd5f6342005-07-11 11:41:53 +01009
Jan Engelhardtec98c682007-04-19 16:21:41 -050010if MTD_ONENAND
11
Kyungmin Parkcd5f6342005-07-11 11:41:53 +010012config MTD_ONENAND_VERIFY_WRITE
13 bool "Verify OneNAND page writes"
Kyungmin Parkcd5f6342005-07-11 11:41:53 +010014 help
15 This adds an extra check when data is written to the flash. The
16 OneNAND flash device internally checks only bits transitioning
17 from 1 to 0. There is a rare possibility that even though the
18 device thinks the write was successful, a bit could have been
Matt LaPlante09509602006-10-03 22:31:37 +020019 flipped accidentally due to device wear or something else.
Kyungmin Parkcd5f6342005-07-11 11:41:53 +010020
Kyungmin Park68ee4b12005-09-09 07:39:50 +010021config MTD_ONENAND_GENERIC
Thomas Gleixner46d0d0f2005-11-07 01:14:05 +010022 tristate "OneNAND Flash device via platform device driver"
Kyungmin Park68ee4b12005-09-09 07:39:50 +010023 help
Thomas Gleixner46d0d0f2005-11-07 01:14:05 +010024 Support for OneNAND flash via platform device driver.
Kyungmin Park68ee4b12005-09-09 07:39:50 +010025
Adrian Hunter36cd4fb2008-08-06 10:08:46 +030026config MTD_ONENAND_OMAP2
27 tristate "OneNAND on OMAP2/OMAP3 support"
Kyle Spaans8c1a1152010-06-08 09:48:22 -040028 depends on ARCH_OMAP2 || ARCH_OMAP3
Adrian Hunter36cd4fb2008-08-06 10:08:46 +030029 help
30 Support for a OneNAND flash device connected to an OMAP2/OMAP3 CPU
31 via the GPMC memory controller.
32
Kyungmin Park46f3e882010-04-28 17:46:49 +020033config MTD_ONENAND_SAMSUNG
34 tristate "OneNAND on Samsung SOC controller support"
Kukjin Kimfc406cd2011-02-14 16:52:45 +090035 depends on ARCH_S3C64XX || ARCH_S5PC100 || ARCH_S5PV210 || ARCH_EXYNOS4
Kyungmin Park46f3e882010-04-28 17:46:49 +020036 help
Kyungmin Park861fae12010-09-29 14:32:05 +090037 Support for a OneNAND flash device connected to an Samsung SOC.
38 S3C64XX/S5PC100 use command mapping method.
39 S5PC110/S5PC210 use generic OneNAND method.
Kyungmin Park46f3e882010-04-28 17:46:49 +020040
Kyungmin Park493c6462006-05-12 17:03:07 +030041config MTD_ONENAND_OTP
42 bool "OneNAND OTP Support"
David Brownell34a82442008-07-30 12:35:05 -070043 select HAVE_MTD_OTP
Kyungmin Park493c6462006-05-12 17:03:07 +030044 help
45 One Block of the NAND Flash Array memory is reserved as
46 a One-Time Programmable Block memory area.
47 Also, 1st Block of NAND Flash Array can be used as OTP.
48
49 The OTP block can be read, programmed and locked using the same
50 operations as any other NAND Flash Array memory block.
51 OTP block cannot be erased.
52
53 OTP block is fully-guaranteed to be a valid block.
54
Kyungmin Parkee9745f2007-06-30 13:57:49 +090055config MTD_ONENAND_2X_PROGRAM
56 bool "OneNAND 2X program support"
57 help
58 The 2X Program is an extension of Program Operation.
59 Since the device is equipped with two DataRAMs, and two-plane NAND
60 Flash memory array, these two component enables simultaneous program
61 of 4KiB. Plane1 has only even blocks such as block0, block2, block4
62 while Plane2 has only odd blocks such as block1, block3, block5.
63 So MTD regards it as 4KiB page size and 256KiB block size
64
65 Now the following chips support it. (KFXXX16Q2M)
66 Demux: KFG2G16Q2M, KFH4G16Q2M, KFW8G16Q2M,
67 Mux: KFM2G16Q2M, KFN4G16Q2M,
68
69 And more recent chips
70
Kyungmin Park8dab1692007-06-30 14:14:43 +090071config MTD_ONENAND_SIM
72 tristate "OneNAND simulator support"
Kyungmin Park8dab1692007-06-30 14:14:43 +090073 help
74 The simulator may simulate various OneNAND flash chips for the
75 OneNAND MTD layer.
76
Jan Engelhardtec98c682007-04-19 16:21:41 -050077endif # MTD_ONENAND