diff options
Diffstat (limited to 'drivers/mtd/ubi/Kconfig.debug')
-rw-r--r-- | drivers/mtd/ubi/Kconfig.debug | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/drivers/mtd/ubi/Kconfig.debug b/drivers/mtd/ubi/Kconfig.debug deleted file mode 100644 index fad4adc0fe2c..000000000000 --- a/drivers/mtd/ubi/Kconfig.debug +++ /dev/null | |||
@@ -1,73 +0,0 @@ | |||
1 | comment "UBI debugging options" | ||
2 | |||
3 | config MTD_UBI_DEBUG | ||
4 | bool "UBI debugging" | ||
5 | depends on SYSFS | ||
6 | select DEBUG_FS | ||
7 | select KALLSYMS_ALL if KALLSYMS && DEBUG_KERNEL | ||
8 | help | ||
9 | This option enables UBI debugging. | ||
10 | |||
11 | if MTD_UBI_DEBUG | ||
12 | |||
13 | config MTD_UBI_DEBUG_MSG | ||
14 | bool "UBI debugging messages" | ||
15 | help | ||
16 | This option enables UBI debugging messages. | ||
17 | |||
18 | config MTD_UBI_DEBUG_PARANOID | ||
19 | bool "Extra self-checks" | ||
20 | help | ||
21 | This option enables extra checks in UBI code. Note this slows UBI down | ||
22 | significantly. | ||
23 | |||
24 | config MTD_UBI_DEBUG_DISABLE_BGT | ||
25 | bool "Do not enable the UBI background thread" | ||
26 | help | ||
27 | This option switches the background thread off by default. The thread | ||
28 | may be also be enabled/disabled via UBI sysfs. | ||
29 | |||
30 | config MTD_UBI_DEBUG_EMULATE_BITFLIPS | ||
31 | bool "Emulate flash bit-flips" | ||
32 | help | ||
33 | This option emulates bit-flips with probability 1/50, which in turn | ||
34 | causes scrubbing. Useful for debugging and stressing UBI. | ||
35 | |||
36 | config MTD_UBI_DEBUG_EMULATE_WRITE_FAILURES | ||
37 | bool "Emulate flash write failures" | ||
38 | help | ||
39 | This option emulates write failures with probability 1/100. Useful for | ||
40 | debugging and testing how UBI handlines errors. | ||
41 | |||
42 | config MTD_UBI_DEBUG_EMULATE_ERASE_FAILURES | ||
43 | bool "Emulate flash erase failures" | ||
44 | help | ||
45 | This option emulates erase failures with probability 1/100. Useful for | ||
46 | debugging and testing how UBI handlines errors. | ||
47 | |||
48 | comment "Additional UBI debugging messages" | ||
49 | |||
50 | config MTD_UBI_DEBUG_MSG_BLD | ||
51 | bool "Additional UBI initialization and build messages" | ||
52 | help | ||
53 | This option enables detailed UBI initialization and device build | ||
54 | debugging messages. | ||
55 | |||
56 | config MTD_UBI_DEBUG_MSG_EBA | ||
57 | bool "Eraseblock association unit messages" | ||
58 | help | ||
59 | This option enables debugging messages from the UBI eraseblock | ||
60 | association unit. | ||
61 | |||
62 | config MTD_UBI_DEBUG_MSG_WL | ||
63 | bool "Wear-leveling unit messages" | ||
64 | help | ||
65 | This option enables debugging messages from the UBI wear-leveling | ||
66 | unit. | ||
67 | |||
68 | config MTD_UBI_DEBUG_MSG_IO | ||
69 | bool "Input/output unit messages" | ||
70 | help | ||
71 | This option enables debugging messages from the UBI input/output unit. | ||
72 | |||
73 | endif # MTD_UBI_DEBUG | ||