mpc83xx: add support for kernel 3.14
[openwrt/svn-archive/archive.git] / target / linux / mpc83xx / patches-3.14 / 300-mpc8377_wlan-dts-add-openwrt-hacks.patch
diff --git a/target/linux/mpc83xx/patches-3.14/300-mpc8377_wlan-dts-add-openwrt-hacks.patch b/target/linux/mpc83xx/patches-3.14/300-mpc8377_wlan-dts-add-openwrt-hacks.patch
new file mode 100644 (file)
index 0000000..2fda40a
--- /dev/null
@@ -0,0 +1,23 @@
+--- a/arch/powerpc/boot/dts/mpc8377_wlan.dts
++++ b/arch/powerpc/boot/dts/mpc8377_wlan.dts
+@@ -81,6 +81,11 @@
+                               reg = <0x3a0000 0x3c60000>;
+                               label = "rootfs";
+                       };
++
++                      partition1@a0000 {
++                              reg = <0xa0000 0x3f60000>;
++                              label = "firmware";
++                      };
+               };
+       };
+@@ -474,4 +479,8 @@
+                       default-state = "off";
+               };
+       };
++
++      chosen {
++              bootargs = "console=ttyS0,115200 rootfstype=squashfs noinitrd";
++      };
+ };