Kconfig 2.1 KB
Newer Older
1 2 3 4
#
# linux/drivers/mtd/onenand/Kconfig
#

J
Jan Engelhardt 已提交
5
menuconfig MTD_ONENAND
6 7 8 9 10
	tristate "OneNAND Device Support"
	depends on MTD
	help
	  This enables support for accessing all type of OneNAND flash
	  devices. For further information see
11
	  <http://www.samsung.com/Products/Semiconductor/OneNAND/index.htm>
12

J
Jan Engelhardt 已提交
13 14
if MTD_ONENAND

15 16 17 18 19 20 21
config MTD_ONENAND_VERIFY_WRITE
	bool "Verify OneNAND page writes"
	help
	  This adds an extra check when data is written to the flash. The
	  OneNAND flash device internally checks only bits transitioning
	  from 1 to 0. There is a rare possibility that even though the
	  device thinks the write was successful, a bit could have been
M
Matt LaPlante 已提交
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"
J
Jan Engelhardt 已提交
26
	depends on ARM
27
	help
28
	  Support for OneNAND flash via platform device driver.
29

30 31 32 33 34 35 36 37 38 39 40 41 42
config MTD_ONENAND_OTP
	bool "OneNAND OTP Support"
	help
	  One Block of the NAND Flash Array memory is reserved as
	  a One-Time Programmable Block memory area.
	  Also, 1st Block of NAND Flash Array can be used as OTP.

	  The OTP block can be read, programmed and locked using the same
	  operations as any other NAND Flash Array memory block.
	  OTP block cannot be erased.

	  OTP block is fully-guaranteed to be a valid block.

43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
config MTD_ONENAND_2X_PROGRAM
	bool "OneNAND 2X program support"
	help
	  The 2X Program is an extension of Program Operation.
	  Since the device is equipped with two DataRAMs, and two-plane NAND
	  Flash memory array, these two component enables simultaneous program
	  of 4KiB. Plane1 has only even blocks such as block0, block2, block4
	  while Plane2 has only odd blocks such as block1, block3, block5.
	  So MTD regards it as 4KiB page size and 256KiB block size

	  Now the following chips support it. (KFXXX16Q2M)
	    Demux: KFG2G16Q2M, KFH4G16Q2M, KFW8G16Q2M,
	    Mux:   KFM2G16Q2M, KFN4G16Q2M,

	  And more recent chips

K
Kyungmin Park 已提交
59 60 61 62 63 64 65
config MTD_ONENAND_SIM
	tristate "OneNAND simulator support"
	depends on MTD_PARTITIONS
	help
	  The simulator may simulate various OneNAND flash chips for the
	  OneNAND MTD layer.

J
Jan Engelhardt 已提交
66
endif # MTD_ONENAND