aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/rt3662_edimax_br-6475nd.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/rt3662_edimax_br-6475nd.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/rt3662_edimax_br-6475nd.dts')
-rw-r--r--target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts b/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts
index a1e7c837d1..56d9dc0894 100644
--- a/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts
+++ b/target/linux/ramips/dts/rt3662_edimax_br-6475nd.dts
@@ -2,6 +2,7 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/mtd/partitions/uimage.h>
/ {
compatible = "edimax,br-6475nd", "ralink,rt3662-soc", "ralink,rt3883-soc";
@@ -86,7 +87,9 @@
};
partition@70000 {
- compatible = "edimax,uimage";
+ compatible = "openwrt,uimage", "denx,uimage";
+ openwrt,offset = <FW_EDIMAX_OFFSET>;
+ openwrt,partition-magic = <FW_MAGIC_EDIMAX>;
reg = <0x00070000 0x00790000>;
label = "firmware";
};