ramips: fix mtd partition node names for Phicomm PSG1208

The mtd partition node name should be "partition@${offset}".
However, the offsets of the PSG1208 don't match the partition
'reg' properties. This patch correct the wrong offsets.

Signed-off-by: Shiji Yang <yangshiji66@qq.com>
This commit is contained in:
Shiji Yang 2023-10-02 11:54:59 +08:00 committed by Christian Marangi
parent 7668fc8112
commit f35ddef268
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -67,19 +67,19 @@
read-only;
};
partition@20000 {
partition@30000 {
label = "u-boot-env";
reg = <0x30000 0x10000>;
read-only;
};
factory: partition@30000 {
factory: partition@40000 {
label = "factory";
reg = <0x40000 0x10000>;
read-only;
};
partition@40000 {
partition@50000 {
compatible = "denx,uimage";
label = "firmware";
reg = <0x50000 0x7b0000>;