From: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
Date: Wed, 20 Jun 2018 17:34:51 +0000 (+0800)
Subject: ramips: fix Newifi D1 mtd partition
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=feb0a0bf22143326b3b3515ab0bb4682194dc75a;p=openwrt%2Fstaging%2Fjow.git

ramips: fix Newifi D1 mtd partition

Newifi D1 has 32 MiB flash, so the firmware partition size should be 0x1fb0000

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
---

diff --git a/target/linux/ramips/dts/Newifi-D1.dts b/target/linux/ramips/dts/Newifi-D1.dts
index f5c7c91362..5368b19ea1 100644
--- a/target/linux/ramips/dts/Newifi-D1.dts
+++ b/target/linux/ramips/dts/Newifi-D1.dts
@@ -106,7 +106,7 @@
 
 		partition@50000 {
 			label = "firmware";
-			reg = <0x50000 0x2000000>;
+			reg = <0x50000 0x1fb0000>;
 		};
 	};
 };