summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/Kconfig
blob: db9c287b45e89bc1b8985b5c4b978436ac197d20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
menuconfig MTD
	bool "Memory Technology Device (MTD) support"

if MTD

config MTD_WRITE
	bool
	default y
	prompt "Support writing to MTD devices"

config MTD_OOB_DEVICE
	bool
	select NAND_READ_OOB if NAND
	default y
	prompt "Create a device for reading the OOB data"

config MTD_RAW_DEVICE
	bool
	select NAND_READ_OOB if NAND
	default n
	prompt "mtdraw device to read/write both data+oob"

config MTD_CONCAT
	bool
	prompt "MTD concatenating support"
	help
	  Support for concatenating several MTD devices into a single
	  (virtual) one. This allows you to have -for example- a JFFS(2)
	  file system spanning multiple physical flash chips. This option
	  needs driver support, currently only the cfi-flash driver supports
	  concatenating MTD devices.

comment "MTD debug options"

config MTD_PEB_DEBUG
	bool "MTD PEB debug"
	help
	  When enabled the MTD PEB API will emulate bitflips. Random read
	  operations will return that bits are flipped. The MTD PEB API
	  is used by UBI and ubiformat

source "drivers/mtd/devices/Kconfig"
source "drivers/mtd/nor/Kconfig"
source "drivers/mtd/nand/Kconfig"
source "drivers/mtd/spi-nor/Kconfig"
source "drivers/mtd/ubi/Kconfig"

endif