aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDaniel González Cabanelas <dgcbueu@gmail.com>2020-06-22 21:44:44 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-04 22:19:13 +0100
commit4b9ade65eca26feeeabedf2344f84671d4685150 (patch)
treec7917b2349b90a91e7e34999625bdba1925ac59f /target
parentab9cb390beacfcfef4cdd6cecfc71b64ac98240b (diff)
downloadupstream-4b9ade65eca26feeeabedf2344f84671d4685150.tar.gz
upstream-4b9ade65eca26feeeabedf2344f84671d4685150.tar.bz2
upstream-4b9ade65eca26feeeabedf2344f84671d4685150.zip
bcm63xx: R5010UNv2: fix flash partitions for 16MB flash
The router Nucom R5010UN v2 has the partitions defined for a 8MB flash, but the flash chip is 16MB size. We are wasting half of the flash. Fix it and use generic names for partitions. Fixes: 474cde61234c ("brcm63xx: probe SPI flash through DT") Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com> (cherry picked from commit cef9e5a49f496b64449fca6814fc1b66a45601c3)
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm63xx/dts/r5010unv2.dts10
1 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/brcm63xx/dts/r5010unv2.dts b/target/linux/brcm63xx/dts/r5010unv2.dts
index a782126300..38478fc8af 100644
--- a/target/linux/brcm63xx/dts/r5010unv2.dts
+++ b/target/linux/brcm63xx/dts/r5010unv2.dts
@@ -88,20 +88,20 @@
#address-cells = <1>;
#size-cells = <1>;
- cfe@0 {
+ partition@0 {
reg = <0x000000 0x010000>;
label = "cfe";
read-only;
};
- linux@10000 {
- reg = <0x010000 0x7e0000>;
+ partition@10000 {
+ reg = <0x010000 0xfe0000>;
label = "linux";
compatible = "brcm,bcm963xx-imagetag";
};
- nvram@7f0000 {
- reg = <0x7f0000 0x010000>;
+ partition@ff0000 {
+ reg = <0xff0000 0x010000>;
label = "nvram";
};
};