aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches-2.6.30/003-rootfstype.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/rdc/patches-2.6.30/003-rootfstype.patch')
-rw-r--r--target/linux/rdc/patches-2.6.30/003-rootfstype.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/rdc/patches-2.6.30/003-rootfstype.patch b/target/linux/rdc/patches-2.6.30/003-rootfstype.patch
new file mode 100644
index 0000000000..386e638971
--- /dev/null
+++ b/target/linux/rdc/patches-2.6.30/003-rootfstype.patch
@@ -0,0 +1,11 @@
+--- a/init/do_mounts.c
++++ b/init/do_mounts.c
+@@ -189,6 +189,8 @@ static void __init get_fs_names(char *pa
+ {
+ char *s = page;
+
++ if (!root_fs_names)
++ root_fs_names = "squashfs,jffs2";
+ if (root_fs_names) {
+ strcpy(page, root_fs_names);
+ while (*s++) {