* mtd debug patch
@ 2011-07-28 2:41 斗破苍穷
2011-07-28 3:26 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 1 reply; 2+ messages in thread
From: 斗破苍穷 @ 2011-07-28 2:41 UTC (permalink / raw)
To: barebox
[-- Attachment #1.1: Type: text/plain, Size: 908 bytes --]
From 97f65ff22007f7e3003c333586d7bfa2d37f6268 Mon Sep 17 00:00:00 2001
From: byteman <wangchen2011@gmail.com>
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(-)
diff --git a/common/Kconfig b/common/Kconfig
index 7d2367b..bc3a576 100644
--- 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
+ 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
--
1.7.4.1
[-- Attachment #1.2: Type: text/html, Size: 1149 bytes --]
[-- Attachment #2: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mtd debug patch
2011-07-28 2:41 mtd debug patch 斗破苍穷
@ 2011-07-28 3:26 ` Jean-Christophe PLAGNIOL-VILLARD
0 siblings, 0 replies; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2011-07-28 3:26 UTC (permalink / raw)
To: 斗破苍穷; +Cc: barebox
HI,
please no HTML
On 10:41 Thu 28 Jul , 斗破苍穷 wrote:
> From 97f65ff22007f7e3003c333586d7bfa2d37f6268 Mon Sep 17 00:00:00 2001
> From: byteman <wangchen2011@gmail.com>
please use a real name
> Date: Thu, 28 Jul 2011 10:40:12 +0800
> Subject: [PATCH] mtd debug message patch
SOB here>
> ---
> common/Kconfig | 13 ++++++++++++-
> 1 files changed, 12 insertions(+), 1 deletions(-)
>
> diff --git a/common/Kconfig b/common/Kconfig
> index 7d2367b..bc3a576 100644
> --- 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
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-28 3:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-28 2:41 mtd debug patch 斗破苍穷
2011-07-28 3:26 ` Jean-Christophe PLAGNIOL-VILLARD
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox