ramips: fix Newifi D1 mtd partition
authorDeng Qingfang <dengqf6@mail2.sysu.edu.cn>
Wed, 20 Jun 2018 17:34:51 +0000 (01:34 +0800)
committerMathias Kresin <dev@kresin.me>
Thu, 21 Jun 2018 04:55:10 +0000 (06:55 +0200)
Newifi D1 has 32 MiB flash, so the firmware partition size should be 0x1fb0000

Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
target/linux/ramips/dts/Newifi-D1.dts

index f5c7c913629826f95c615574411147fda8017871..5368b19ea1593068b7365b4c8e56724f159c6442 100644 (file)
 
                partition@50000 {
                        label = "firmware";
-                       reg = <0x50000 0x2000000>;
+                       reg = <0x50000 0x1fb0000>;
                };
        };
 };