aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/rdc/patches-2.6.28/003-rootfstype.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-04-24 12:55:28 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-04-24 12:55:28 +0000
commit426c91001ffca85fb8e8d06f655350b0478aa902 (patch)
treedb057b4d42e60765233ae26b194fef38aef3aef3 /target/linux/rdc/patches-2.6.28/003-rootfstype.patch
parent317bf46798780632539aa85cb67ee794d4e8ae49 (diff)
downloadupstream-426c91001ffca85fb8e8d06f655350b0478aa902.tar.gz
upstream-426c91001ffca85fb8e8d06f655350b0478aa902.tar.bz2
upstream-426c91001ffca85fb8e8d06f655350b0478aa902.zip
add support for 2.6.28 and use it as the default kernel version, tested on Airlink AR525W and RDC8610 eval board
SVN-Revision: 15382
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 0000000000..55a4cd49f5
--- /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++) {