Add files to hook up yaffs direct to u-boot
[yaffs2.git] / direct / yportenv.h
index 0d0d0fa..a797c8a 100644 (file)
 
 
 /* Definition of types */
+#ifdef CONFIG_YAFFS_DEFINES_TYPES
 typedef unsigned char u8;
 typedef unsigned short u16;
 typedef unsigned u32;
+#endif
 
 
 #ifdef CONFIG_YAFFS_PROVIDE_DEFS