galaxys
diff --git a/roots.h b/roots.h
index e777093..a75de9c 100644
--- a/roots.h
+++ b/roots.h
@@ -60,6 +60,14 @@
 #define CACHE_FILESYSTEM "yaffs2"
 #endif
 
+#ifndef SYSTEM_DEVICE
+#define SYSTEM_DEVICE g_mtd_device
+#endif
+
+#ifndef SYSTEM_FILESYSTEM
+#define SYSTEM_FILESYSTEM "yaffs2"
+#endif
+
 /* Any of the "root_path" arguments can be paths with relative
  * components, like "SYSTEM:a/b/c".
  */