kirkwood/goflexnet/goflexhome: change mtd layout to use the last 3 mb
authorLuka Perkov <luka@openwrt.org>
Mon, 14 Mar 2016 17:06:15 +0000 (17:06 +0000)
committerLuka Perkov <luka@openwrt.org>
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>
SVN-Revision: 49015

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

index e30a8b1ee95ff3345336f219db4a30d5d85b7f66..95e67b91e25aa088e51865831599d93c3d4a39f3 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 9fe62d18d1b3845f023c9311b4ebe2e1e423ea1e..fc19e396d5d052cdb7baa24724756abd8de9cd3d 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>;
        };
  };