summaryrefslogtreecommitdiff
path: root/common/cmd_ubi.c
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 /common/cmd_ubi.c
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 'common/cmd_ubi.c')
-rw-r--r--common/cmd_ubi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/cmd_ubi.c b/common/cmd_ubi.c
index 41fbae7..5ba4feb 100644
--- a/common/cmd_ubi.c
+++ b/common/cmd_ubi.c
@@ -23,6 +23,9 @@
#include <asm/errno.h>
#include <jffs2/load_kernel.h>
+#undef ubi_msg
+#define ubi_msg(fmt, ...) printf("UBI: " fmt "\n", ##__VA_ARGS__)
+
#define DEV_TYPE_NONE 0
#define DEV_TYPE_NAND 1
#define DEV_TYPE_ONENAND 2