Add CONFIG_YAFFS_SMALL_RAM to reduce RAM footprint
[yaffs2.git] / direct / yaffscfg.h
index 90c07787b9f9914d0edd7f18d227988d2721fdb9..86ef225fabde708dd6eb4fab8a9355bea75e1625 100644 (file)
 
 #include "yportenv.h"
 
+#ifdef CONFIG_YAFFS_SMALL_RAM
+#define YAFFSFS_N_HANDLES      10
+#define YAFFSFS_N_DSC          2
+#else
 #define YAFFSFS_N_HANDLES      100
-
 #define YAFFSFS_N_DSC          20
+#endif
 
 
 struct yaffsfs_DeviceConfiguration {