From 366ffa53bd0b31bc3633828686d791ad5e3d7f7f Mon Sep 17 00:00:00 2001 From: Shiji Yang Date: Sun, 15 Oct 2023 11:04:46 +0800 Subject: [PATCH] ramips: fix factory partition size for SNR-CPE-W4N 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 --- target/linux/ramips/dts/mt7620n_snr_cpe-w4n-mt.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/ramips/dts/mt7620n_snr_cpe-w4n-mt.dts b/target/linux/ramips/dts/mt7620n_snr_cpe-w4n-mt.dts index 987869a0f3..a1a5606842 100644 --- a/target/linux/ramips/dts/mt7620n_snr_cpe-w4n-mt.dts +++ b/target/linux/ramips/dts/mt7620n_snr_cpe-w4n-mt.dts @@ -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; -- 2.30.2