zte's code,first commit

Change-Id: I9a04da59e459a9bc0d67f101f700d9d7dc8d681b
diff --git a/boot/common/src/uboot/include/dbglvl_printf.h b/boot/common/src/uboot/include/dbglvl_printf.h
new file mode 100644
index 0000000..f5dd094
--- /dev/null
+++ b/boot/common/src/uboot/include/dbglvl_printf.h
@@ -0,0 +1,26 @@
+/*

+ * (C) Copyright 2016, ZIXC Corporation.

+ *

+ */

+

+#ifndef __DEBUG_LEVEL_PRINTF__

+#define __DEBUG_LEVEL_PRINTF__

+

+#define UBOOT_ERR     1

+#define UBOOT_WARN    2

+#define UBOOT_NOTICE  3

+#define UBOOT_DBG     4

+#define UBOOT_INFO    5

+

+extern unsigned int g_uiDebugLevel;    

+

+#define BOOT_PRINTF(Level, Fmt, Args...)  \

+        do{                               \

+            if (Level <= g_uiDebugLevel)  \

+            {                             \

+				printf("[%s]<%d>"Fmt, __FUNCTION__, __LINE__, ##Args); \

+            }								    					   \

+        }while(0)	

+

+#endif	/* __DEBUG_LEVEL_PRINTF__ */

+