[OpenWrt-Devel,v2] brcm63xx: R5010UNv2: fix flash partitions for 16MB flash
diff mbox series

Message ID 2306678.c9ocJjGFzm@tool
State New
Delegated to: Jonas Gorski
Headers show
Series
  • [OpenWrt-Devel,v2] brcm63xx: R5010UNv2: fix flash partitions for 16MB flash
Related show

Commit Message

Daniel Gonzalez Cabanelas Aug. 21, 2019, 6:57 p.m. UTC
The router Nucom R5010UN v2 has the partitions defined for a 8MB flash, but the 
flash chip is 16MB size. Fix it

Fixes: 474cde61234c ("brcm63xx: probe SPI flash through DT")
---
Changes in v2: 
- the mail client truncated the patch header, fixed

 target/linux/brcm63xx/dts/r5010unv2.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Jonas Gorski Sept. 14, 2019, 9:55 a.m. UTC | #1
On Wed, 21 Aug 2019 at 20:57, Daniel Gonzalez Cabanelas
<dgcbueu@gmail.com> wrote:
>
> The router Nucom R5010UN v2 has the partitions defined for a 8MB flash, but the
> flash chip is 16MB size. Fix it
>
> Fixes: 474cde61234c ("brcm63xx: probe SPI flash through DT")
> ---

You are missing a SOB.

Regards
Jonas

Patch
diff mbox series

diff --git a/target/linux/brcm63xx/dts/r5010unv2.dts b/target/linux/brcm63xx/dts/r5010unv2.dts
index a782126300..89d9b763bd 100644
--- a/target/linux/brcm63xx/dts/r5010unv2.dts
+++ b/target/linux/brcm63xx/dts/r5010unv2.dts
@@ -95,13 +95,13 @@ 
 			};
 
 			linux@10000 {
-				reg = <0x010000 0x7e0000>;
+				reg = <0x010000 0xfe0000>;
 				label = "linux";
 				compatible = "brcm,bcm963xx-imagetag";
 			};
 
-			nvram@7f0000 {
-				reg = <0x7f0000 0x010000>;
+			nvram@ff0000 {
+				reg = <0xff0000 0x010000>;
 				label = "nvram";
 			};
 		};