summaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches-2.6.28/003-rootfstype.patch
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-24 12:55:28 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-24 12:55:28 +0000
commit9b8a15dcde03aec801a4f5ec14f27f149179bf6c (patch)
treefcbeb51a451a89747038db4bdab6e786270fe688 /target/linux/rdc/patches-2.6.28/003-rootfstype.patch
parentb63bddaf5358e444c87ba1d86808cd4ee784fa01 (diff)
[rdc] add support for 2.6.28 and use it as the default kernel version, tested on Airlink AR525W and RDC8610 eval board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15382 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/rdc/patches-2.6.28/003-rootfstype.patch')
-rw-r--r--target/linux/rdc/patches-2.6.28/003-rootfstype.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/rdc/patches-2.6.28/003-rootfstype.patch b/target/linux/rdc/patches-2.6.28/003-rootfstype.patch
new file mode 100644
index 000000000..55a4cd49f
--- /dev/null
+++ b/target/linux/rdc/patches-2.6.28/003-rootfstype.patch
@@ -0,0 +1,11 @@
+--- a/init/do_mounts.c
++++ b/init/do_mounts.c
+@@ -163,6 +163,8 @@
+ {
+ char *s = page;
+
++ if (!root_fs_names)
++ root_fs_names = "squashfs,jffs2";
+ if (root_fs_names) {
+ strcpy(page, root_fs_names);
+ while (*s++) {