summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/Kconfig.debug
diff options
context:
space:
mode:
authorArtem Bityutskiy2011-03-11 13:33:23 +0100
committerArtem Bityutskiy2011-03-16 12:50:16 +0100
commitb342efd4a49cef9cf1a260c1814aad97722f38f8 (patch)
treec2fecee23143d6939a719c9e6c5728c6f8798665 /drivers/mtd/ubi/Kconfig.debug
parentUBI: remove UBI_IO_DEBUG macro (diff)
downloadkernel-qcow2-linux-b342efd4a49cef9cf1a260c1814aad97722f38f8.tar.gz
kernel-qcow2-linux-b342efd4a49cef9cf1a260c1814aad97722f38f8.tar.xz
kernel-qcow2-linux-b342efd4a49cef9cf1a260c1814aad97722f38f8.zip
UBI: make debugging messages dynamic
This patch adds a possibility to dynamically select UBI debugging messages, instead of selecting them compile-time from the configuration menu. This is much more flexible, and consistent with UBIFS, and this also simplifies UBI Kconfig menu and the code. Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/Kconfig.debug')
-rw-r--r--drivers/mtd/ubi/Kconfig.debug30
1 files changed, 0 insertions, 30 deletions
diff --git a/drivers/mtd/ubi/Kconfig.debug b/drivers/mtd/ubi/Kconfig.debug
index fad4adc0fe2c..d40134e9d572 100644
--- a/drivers/mtd/ubi/Kconfig.debug
+++ b/drivers/mtd/ubi/Kconfig.debug
@@ -10,11 +10,6 @@ config MTD_UBI_DEBUG
if MTD_UBI_DEBUG
-config MTD_UBI_DEBUG_MSG
- bool "UBI debugging messages"
- help
- This option enables UBI debugging messages.
-
config MTD_UBI_DEBUG_PARANOID
bool "Extra self-checks"
help
@@ -45,29 +40,4 @@ config MTD_UBI_DEBUG_EMULATE_ERASE_FAILURES
This option emulates erase failures with probability 1/100. Useful for
debugging and testing how UBI handlines errors.
-comment "Additional UBI debugging messages"
-
-config MTD_UBI_DEBUG_MSG_BLD
- bool "Additional UBI initialization and build messages"
- help
- This option enables detailed UBI initialization and device build
- debugging messages.
-
-config MTD_UBI_DEBUG_MSG_EBA
- bool "Eraseblock association unit messages"
- help
- This option enables debugging messages from the UBI eraseblock
- association unit.
-
-config MTD_UBI_DEBUG_MSG_WL
- bool "Wear-leveling unit messages"
- help
- This option enables debugging messages from the UBI wear-leveling
- unit.
-
-config MTD_UBI_DEBUG_MSG_IO
- bool "Input/output unit messages"
- help
- This option enables debugging messages from the UBI input/output unit.
-
endif # MTD_UBI_DEBUG