summaryrefslogtreecommitdiff
path: root/drivers/mtd/ubi/ubi.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2013-04-08 10:32:49 +0000
committerTom Rini <trini@ti.com>2013-04-11 15:52:54 -0400
commit147162dac6506d2ed96ba5869772f87fb1f49a0b (patch)
tree3e66f772f3fc039e31831cb951758487228740ef /drivers/mtd/ubi/ubi.h
parent70c219cd7ceba104c2cc87940bb2f688b4b0a752 (diff)
downloadu-boot-imx-147162dac6506d2ed96ba5869772f87fb1f49a0b.zip
u-boot-imx-147162dac6506d2ed96ba5869772f87fb1f49a0b.tar.gz
u-boot-imx-147162dac6506d2ed96ba5869772f87fb1f49a0b.tar.bz2
ubi: ubifs: Turn off verbose prints
The prints are out of control. SILENCE! Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/mtd/ubi/ubi.h')
-rw-r--r--drivers/mtd/ubi/ubi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/ubi.h b/drivers/mtd/ubi/ubi.h
index 14c3a5f..044e849 100644
--- a/drivers/mtd/ubi/ubi.h
+++ b/drivers/mtd/ubi/ubi.h
@@ -59,7 +59,11 @@
#define UBI_NAME_STR "ubi"
/* Normal UBI messages */
+#ifdef CONFIG_UBI_SILENCE_MSG
+#define ubi_msg(fmt, ...)
+#else
#define ubi_msg(fmt, ...) printk(KERN_NOTICE "UBI: " fmt "\n", ##__VA_ARGS__)
+#endif
/* UBI warning messages */
#define ubi_warn(fmt, ...) printk(KERN_WARNING "UBI warning: %s: " fmt "\n", \
__func__, ##__VA_ARGS__)