kirkwood/goflexnet/goflexhome: change mtd layout to use the last 3 mb
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 14 Mar 2016 17:06:15 +0000 (17:06 +0000)
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 14 Mar 2016 17:06:15 +0000 (17:06 +0000)
Previous the uboot was overwriting the device-tree's mtd layout to use
the last 3 mb.

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49015 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/kirkwood/patches-3.18/180-goflexhome.patch
target/linux/kirkwood/patches-3.18/181-goflexnet.patch

index e30a8b1..95e67b9 100644 (file)
@@ -114,7 +114,7 @@ Index: linux-3.18.27/arch/arm/boot/dts/kirkwood-goflexhome.dts
 +
 +      partition@100000 {
 +              label = "ubi";
-+              reg = <0x100000 0xfc00000>;
++              reg = <0x100000 0x0ff00000>;
 +      };
 +};
 +
index 9fe62d1..fc19e39 100644 (file)
@@ -19,7 +19,7 @@ Index: linux-4.4.4/arch/arm/boot/dts/kirkwood-goflexnet.dts
 -              label = "root";
 -              reg = <0x02500000 0xd800000>;
 +              label = "ubi";
-+              reg = <0x0100000 0xfc00000>;
++              reg = <0x0100000 0x0ff00000>;
        };
  };