aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7621_edimax_re23s.dts
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2021-01-20 18:36:53 +0100
committerPetr Štetiar <ynezz@true.cz>2021-01-22 21:03:11 +0100
commit402408b36840e078b8a98d66163d72e48ca3275b (patch)
tree722611ff666057ec585c660e176388bb3556c751 /target/linux/ramips/dts/mt7621_edimax_re23s.dts
parent3f36dffbdee0d08f982950490b6d2bfb6568d376 (diff)
downloadupstream-402408b36840e078b8a98d66163d72e48ca3275b.tar.gz
upstream-402408b36840e078b8a98d66163d72e48ca3275b.tar.bz2
upstream-402408b36840e078b8a98d66163d72e48ca3275b.zip
kernel: mtdsplit_uimage: replace "edimax, uimage" parser
The "edimax,uimage"" parser can be replaced by the generic parser using device specific openwrt,partition-magic and openwrt,offset properties. Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'target/linux/ramips/dts/mt7621_edimax_re23s.dts')
-rw-r--r--target/linux/ramips/dts/mt7621_edimax_re23s.dts5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7621_edimax_re23s.dts b/target/linux/ramips/dts/mt7621_edimax_re23s.dts
index cf44746e8f..9b96573446 100644
--- a/target/linux/ramips/dts/mt7621_edimax_re23s.dts
+++ b/target/linux/ramips/dts/mt7621_edimax_re23s.dts
@@ -4,6 +4,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/mtd/partitions/uimage.h>
/ {
compatible = "edimax,re23s", "mediatek,mt7621-soc";
@@ -97,7 +98,9 @@
};
partition@70000 {
- compatible = "edimax,uimage";
+ compatible = "openwrt,uimage", "denx,uimage";
+ openwrt,offset = <FW_EDIMAX_OFFSET>;
+ openwrt,partition-magic = <FW_MAGIC_EDIMAX>;
label = "firmware";
reg = <0x70000 0xf50000>;
};