diff mbox series

[OpenWrt-Devel,v3] brcm63xx: R5010UNv2: fix flash partitions for 16MB flash

Message ID 2052541.qGprmitUZ9@tool
State Accepted
Delegated to: John Crispin
Headers show
Series [OpenWrt-Devel,v3] brcm63xx: R5010UNv2: fix flash partitions for 16MB flash | expand

Commit Message

Daniel González Cabanelas Sept. 14, 2019, 10:02 a.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")

Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com>
---
Changes in v3: 
- add missing SOB
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(-)
diff mbox series

Patch

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";
                        };
                };