kernel: mtdsplit_uimage: add "openwrt, offset" and "openwrt, partition-magic"
authorBjørn Mork <bjorn@mork.no>
Wed, 20 Jan 2021 17:36:52 +0000 (18:36 +0100)
committerPetr Štetiar <ynezz@true.cz>
Fri, 22 Jan 2021 20:03:11 +0000 (21:03 +0100)
commit3f36dffbdee0d08f982950490b6d2bfb6568d376
tree7bbf55a202c85dc1a4cd2962fe152634e6deb7e7
parentff7709d223e15cfc496abf09acae12826d9216e6
kernel: mtdsplit_uimage: add "openwrt, offset" and "openwrt, partition-magic"

Some devices prepend a standard U-Boot Image with a vendor specific
header, having its own magic. Adding two new properties will support
validation of such images, including the additional magic.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c