aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.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/mt7620a_edimax_ew-7478apc.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/mt7620a_edimax_ew-7478apc.dts')
-rw-r--r--target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.dts5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.dts b/target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.dts
index 1e1b2830f0..77d214e888 100644
--- a/target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.dts
+++ b/target/linux/ramips/dts/mt7620a_edimax_ew-7478apc.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,ew-7478apc", "ralink,mt7620a-soc";
@@ -102,7 +103,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 = <0x00070000 0x00790000>;
};