From 76c2c676ec5e8c6069579b2192fb9211ec414daf Mon Sep 17 00:00:00 2001
From: Luka Perkov <luka@openwrt.org>
Date: Mon, 14 Mar 2016 17:06:15 +0000
Subject: [PATCH] kirkwood/goflexnet/goflexhome: change mtd layout to use the
 last 3 mb

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 | 2 +-
 target/linux/kirkwood/patches-3.18/181-goflexnet.patch  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/kirkwood/patches-3.18/180-goflexhome.patch b/target/linux/kirkwood/patches-3.18/180-goflexhome.patch
index e30a8b1ee9..95e67b91e2 100644
--- a/target/linux/kirkwood/patches-3.18/180-goflexhome.patch
+++ b/target/linux/kirkwood/patches-3.18/180-goflexhome.patch
@@ -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>;
 +	};
 +};
 +
diff --git a/target/linux/kirkwood/patches-3.18/181-goflexnet.patch b/target/linux/kirkwood/patches-3.18/181-goflexnet.patch
index 9fe62d18d1..fc19e396d5 100644
--- a/target/linux/kirkwood/patches-3.18/181-goflexnet.patch
+++ b/target/linux/kirkwood/patches-3.18/181-goflexnet.patch
@@ -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>;
  	};
  };
  
-- 
GitLab