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