*
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*
- * $Id: yportenv.h,v 1.8 2003-01-14 23:15:41 charles Exp $
+ * $Id: yportenv.h,v 1.10 2003-01-31 03:30:33 charles Exp $
*
*/
#define YAFFS_LOSTNFOUND_NAME "Lost Clusters"
#define YAFFS_LOSTNFOUND_PREFIX "OBJ"
-#define YPRINTF(x)
+#define YPRINTF(x) RETAILMSG(1,x)
// Always pass the sum compare to overcome the case insensitivity issue
#define yaffs_SumCompare(x,y) ((x) == (y))
#elif defined CONFIG_YAFFS_DIRECT
-// Directct interface
+// Direct interface
#include "stdlib.h"
#include "stdio.h"
#define YAFFS_TRACE_SCAN 0x0008
#define YAFFS_TRACE_BAD_BLOCKS 0x0010
#define YAFFS_TRACE_ERASE 0x0020
+#define YAFFS_TRACE_GC 0x0040
#define YAFFS_TRACE_TRACING 0x0100
#define YAFFS_TRACE_ALWAYS 0x0200
#define YAFFS_TRACE_BUG 0x8000