Skip to contentSkip to conversation

mtd debug patch

PATCH 斗破苍穷 2 participants 2 messages Jul 28, 2011

lore
Share & tools
lore
#0 lore raw

From 97f65ff22007f7e3003c333586d7bfa2d37f6268 Mon Sep 17 00:00:00 2001
From: byteman <[email protected]>
Date: Thu, 28 Jul 2011 10:40:12 +0800
Subject: [PATCH] mtd debug message patch

---
 common/Kconfig |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)
common/Kconfig +12 -1
index 7d2367b..bc3a576 100644
@@ -481,5 +481,16 @@ config ENABLE_DEVICE_NOISE
  prompt "verbose device handling"
  help
    Enable this to get noisy device handling routines
-
+config MTD_DEBUG
+ bool
+ prompt "enable mtd debug message"
+ help
+   Enable this to get debug message of mtd device
+config MTD_DEBUG_VERBOSE
+ int
+ depends on MTD_DEBUG
+ prompt "mtd debug level"
+ help
+   if the level of mtd message less than mtd debug level,then will output the message.
+ default 0
 endmenu
Signature · 1 line
1.7.4.1

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#1 lore raw

HI,

please no HTML

Quoted 2 lines · 斗破苍穷

From 97f65ff22007f7e3003c333586d7bfa2d37f6268 Mon Sep 17 00:00:00 2001
From: byteman <[email protected]>

please use a real name

Quoted 2 lines

Date: Thu, 28 Jul 2011 10:40:12 +0800
Subject: [PATCH] mtd debug message patch

SOB here>

Quoted 6 lines
   ---
    common/Kconfig |   13 ++++++++++++-
    1 files changed, 12 insertions(+), 1 deletions(-)

   diff --git a/common/Kconfig b/common/Kconfig
   index 7d2367b..bc3a576 100644
Quoted 8 lines
   --- a/common/Kconfig
   +++ b/common/Kconfig
   @@ -481,5 +481,16 @@ config ENABLE_DEVICE_NOISE
     prompt "verbose device handling"
     help
       Enable this to get noisy device handling routines
   -
   +config MTD_DEBUG

please move this to drivers/mtd

Best Regards,
J.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox