summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorShiji Yang <yangshiji66@qq.com>2023-10-02 11:54:59 +0800
committerChristian Marangi <ansuelsmth@gmail.com>2023-10-17 12:07:26 +0200
commitf35ddef26814b39e829c6e44d94e160bfe8bd7a2 (patch)
tree8dd31ebd556d03627cd6c5377cd6edb1ba56b9c5 /target/linux/ramips
parent7668fc81128cc64daecd90ed6c785bb7943dcbb8 (diff)
downloadopenwrt-f35ddef26814b39e829c6e44d94e160bfe8bd7a2.tar.gz
openwrt-f35ddef26814b39e829c6e44d94e160bfe8bd7a2.tar.bz2
openwrt-f35ddef26814b39e829c6e44d94e160bfe8bd7a2.zip
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>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts b/target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts
index 4e123c32bd..fc4f1d6258 100644
--- a/target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts
+++ b/target/linux/ramips/dts/mt7620a_phicomm_psg1208.dts
@@ -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>;