Fix slow 512-byte problem. Thanx Frank.
[yaffs2.git] / direct / yaffs_fileem2k.h
index 6aa731f907e41c3751365ee7e5c1ac2a495816c5..5b24ef2f9eae73426124deb5ad87cc417af65c69 100644 (file)
@@ -17,7 +17,8 @@
 
 #if 1
 
-#define SIZE_IN_MB 512
+#define SIZE_IN_MB 128
+//#define SIZE_IN_MB 8000
 #define PAGE_DATA_SIZE (2048)
 #define PAGE_SPARE_SIZE  (64)
 #define PAGE_SIZE  (PAGE_DATA_SIZE + PAGE_SPARE_SIZE)
@@ -41,5 +42,8 @@
 
 #endif
 
+
+int yflash_GetNumberOfBlocks(void);
+
 #endif