aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/include/dt-bindings/mtd/partitions/uimage.h
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/generic/files/include/dt-bindings/mtd/partitions/uimage.h
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/generic/files/include/dt-bindings/mtd/partitions/uimage.h')
-rw-r--r--target/linux/generic/files/include/dt-bindings/mtd/partitions/uimage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/generic/files/include/dt-bindings/mtd/partitions/uimage.h b/target/linux/generic/files/include/dt-bindings/mtd/partitions/uimage.h
index 407e46ce2c..43d5f7b5da 100644
--- a/target/linux/generic/files/include/dt-bindings/mtd/partitions/uimage.h
+++ b/target/linux/generic/files/include/dt-bindings/mtd/partitions/uimage.h
@@ -192,5 +192,7 @@
* Magic values specific to "openwrt,uimage" partitions
*/
#define IH_MAGIC_OKLI 0x4f4b4c49 /* 'OKLI' */
+#define FW_EDIMAX_OFFSET 20 /* Edimax Firmware Offset */
+#define FW_MAGIC_EDIMAX 0x43535953 /* Edimax Firmware Magic Number */
#endif /* __UIMAGE_H__ */