kernel: mtdsplit_uimage: add "openwrt, ih-type" device-tree property
authorBjørn Mork <bjorn@mork.no>
Wed, 20 Jan 2021 17:36:50 +0000 (18:36 +0100)
committerPetr Štetiar <ynezz@true.cz>
Fri, 22 Jan 2021 20:03:11 +0000 (21:03 +0100)
commitde64d4b9586c86018097fc33ce3210128da11287
tree60d09f36221168bb10c41624680ef39faac8826a
parent647fdafcc57e7bb214ba5c745be63a55211e3422
kernel: mtdsplit_uimage: add "openwrt, ih-type" device-tree property

Some devices use uimage headers with a non-default ih_type. Add
support for overriding this in device tree.

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