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: 474cde6123 ("brcm63xx: probe SPI flash through DT")

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
This commit is contained in:
Daniel González Cabanelas 2020-06-22 21:44:44 +02:00 committed by Petr Štetiar
parent 2ca084ccaa
commit cef9e5a49f

View File

@ -94,20 +94,20 @@
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
cfe@0 { partition@0 {
reg = <0x000000 0x010000>; reg = <0x000000 0x010000>;
label = "cfe"; label = "cfe";
read-only; read-only;
}; };
linux@10000 { partition@10000 {
reg = <0x010000 0x7e0000>; reg = <0x010000 0xfe0000>;
label = "linux"; label = "linux";
compatible = "brcm,bcm963xx-imagetag"; compatible = "brcm,bcm963xx-imagetag";
}; };
nvram@7f0000 { partition@ff0000 {
reg = <0x7f0000 0x010000>; reg = <0xff0000 0x010000>;
label = "nvram"; label = "nvram";
}; };
}; };