kirkwood/goflexnet/goflexhome: change mtd layout to use the last 3 mb
[openwrt/openwrt.git] / target / linux / kirkwood / patches-3.18 / 180-goflexhome.patch
index e54c853..95e67b9 100644 (file)
@@ -1,16 +1,20 @@
---- a/arch/arm/boot/dts/Makefile
-+++ b/arch/arm/boot/dts/Makefile
-@@ -122,6 +122,7 @@ dtb-$(CONFIG_MACH_KIRKWOOD) += kirkwood-
+Index: linux-3.18.27/arch/arm/boot/dts/Makefile
+===================================================================
+--- linux-3.18.27.orig/arch/arm/boot/dts/Makefile
++++ linux-3.18.27/arch/arm/boot/dts/Makefile
+@@ -120,6 +120,7 @@ dtb-$(CONFIG_MACH_KIRKWOOD) += kirkwood-
+       kirkwood-ds411.dtb \
+       kirkwood-ds411j.dtb \
        kirkwood-ds411slim.dtb \
-       kirkwood-ea3500.dtb \
-       kirkwood-ea4500.dtb \
 +      kirkwood-goflexhome.dtb \
        kirkwood-goflexnet.dtb \
        kirkwood-guruplug-server-plus.dtb \
        kirkwood-ib62x0.dtb \
+Index: linux-3.18.27/arch/arm/boot/dts/kirkwood-goflexhome.dts
+===================================================================
 --- /dev/null
-+++ b/arch/arm/boot/dts/kirkwood-goflexhome.dts
-@@ -0,0 +1,127 @@
++++ linux-3.18.27/arch/arm/boot/dts/kirkwood-goflexhome.dts
+@@ -0,0 +1,117 @@
 +/dts-v1/;
 +
 +#include "kirkwood.dtsi"
 +      };
 +
 +      partition@100000 {
-+              label = "uImage";
-+              reg = <0x0100000 0x400000>;
-+      };
-+
-+      partition@500000 {
-+              label = "pogoplug";
-+              reg = <0x0500000 0x2000000>;
-+      };
-+
-+      partition@2500000 {
-+              label = "root";
-+              reg = <0x02500000 0xd800000>;
++              label = "ubi";
++              reg = <0x100000 0x0ff00000>;
 +      };
 +};
 +