ASR_BASE

Change-Id: Icf3719cc0afe3eeb3edc7fa80a2eb5199ca9dda1
diff --git a/marvell/uboot/fs/tffs/debug.h b/marvell/uboot/fs/tffs/debug.h
new file mode 100644
index 0000000..4c094f3
--- /dev/null
+++ b/marvell/uboot/fs/tffs/debug.h
@@ -0,0 +1,38 @@
+/*
+ * debug.h
+ *
+ * debug functions
+ * head file
+ *
+ * Copyright (C) knightray@gmail.com
+ *
+ * SPDX-License-Identifier:	GPL-2.0+
+ */
+#ifndef _DEBUG_H
+#define _DEBUG_H
+
+#include "comdef.h"
+/*
+#define DBG_CACHE
+#define DBG_DIR
+#define DBG_DIRENT
+#define DBG_FAT
+#define DBG_FILE
+#define DBG_INITFS
+*/
+#define DBG 	printf
+#define WARN	printf
+#define ERR		printf
+#define INFO 	printf
+
+#define ASSERT(f)	if(!(f)) { \
+						printf("ASSERT failed at %s():%d\n", __FUNCTION__, __LINE__); \
+						/* exit(0); */ \
+					}
+
+void print_sector(ubyte * secbuf, ubyte bychar);
+static inline void nulldbg(char * fmt, ...)
+{
+}
+
+#endif