Incorporate yaffs2 into U-boot
To use YAFFS2 define CONFIG_YAFFS2
Signed-off-by: William Juul <william.juul@tandberg.com>
Signed-off-by: Scott Wood <scottwood@freescale.com>
diff --git a/fs/yaffs2/direct/yaffs_malloc.h b/fs/yaffs2/direct/yaffs_malloc.h
index 245f9c9..122fb4c 100644
--- a/fs/yaffs2/direct/yaffs_malloc.h
+++ b/fs/yaffs2/direct/yaffs_malloc.h
@@ -14,8 +14,11 @@
* Note: Only YAFFS headers are LGPL, YAFFS C code is covered by GPL.
*/
+/* XXX U-BOOT XXX */
+#if 0
#include <stdlib.h>
-
+#endif
+
void *yaffs_malloc(size_t size);
void yaffs_free(void *ptr);