From 0ec9253b9d7ea45e2531cb30cbb198f3fb6d9b18 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 22 Feb 2016 08:54:32 +0000
Subject: [PATCH] ramips: fix WSR-1166 partition table

- Fix typo in board_data partition start address
- Increase board_data partition size in order to exploit all flash size

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>

SVN-Revision: 48751
---
 target/linux/ramips/dts/WSR-1166.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/WSR-1166.dts b/target/linux/ramips/dts/WSR-1166.dts
index d1e3ef90f3..9743cee652 100644
--- a/target/linux/ramips/dts/WSR-1166.dts
+++ b/target/linux/ramips/dts/WSR-1166.dts
@@ -50,9 +50,9 @@
 					reg = <0x50000 0xf90000>;
 				};
 
-				partition@fe00000 {
+				partition@fe0000 {
 					label = "board_data";
-					reg = <0xfe0000 0x10000>;
+					reg = <0xfe0000 0x20000>;
 				};
 			};
 		};
-- 
2.30.2