ramips: fix factory partition size for SNR-CPE-W4N
authorShiji Yang <yangshiji66@qq.com>
Sun, 15 Oct 2023 03:04:46 +0000 (11:04 +0800)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 17 Oct 2023 10:07:28 +0000 (12:07 +0200)
The starting address of 'factory' partition is 0x40000, and the
starting address of the next partition is 0x50000. It's obvious
that the correct size for the 'factory' is 0x10000, just like
other MT7620 devices.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
target/linux/ramips/dts/mt7620n_snr_cpe-w4n-mt.dts

index 987869a0f3fb1646b98b2679e0dcb4f793813dd7..a1a560684297ed30fe3e4336c2b7e6ed8b387dda 100644 (file)
@@ -93,7 +93,7 @@
                        factory: partition@40000 {
                                compatible = "nvmem-cells";
                                label = "Factory";
-                               reg = <0x40000 0x100000>;
+                               reg = <0x40000 0x10000>;
                                #address-cells = <1>;
                                #size-cells = <1>;
                                read-only;