Improve YDI lookup and device prefic handling
[yaffs2.git] / direct / yaffscfg2k.c
index 9c45524774993f7097c7821faa58057cebc5455b..e63411ad27f1a94561bf6c99300742bea501f12a 100644 (file)
@@ -59,12 +59,19 @@ static yaffs_Device flashDev;
 static yaffs_Device ram2kDev;
 
 static yaffsfs_DeviceConfiguration yaffsfs_config[] = {
-
+#if 0
        { "/ram", &ramDev},
        { "/boot", &bootDev},
-       { "/flash", &flashDev},
+       { "/flash/", &flashDev},
+       { "/ram2k", &ram2kDev},
+       {(void *)0,(void *)0}
+#else
+       { "/", &ramDev},
+       { "/flash/boot", &bootDev},
+       { "/flash/", &flashDev},
        { "/ram2k", &ram2kDev},
        {(void *)0,(void *)0}
+#endif
 };