kernel: mtdsplit_uimage: read extralen from device tree
authorBjørn Mork <bjorn@mork.no>
Wed, 20 Jan 2021 17:36:45 +0000 (18:36 +0100)
committerPetr Štetiar <ynezz@true.cz>
Fri, 22 Jan 2021 20:03:11 +0000 (21:03 +0100)
commit76ea7a91cf96203418dd9165c46eb737de77ee99
treec3952ad80c183be3c993a70a2edaa3b20feb678d
parentdd5ac0546ca3f80de10db309e57090cf809b1b72
kernel: mtdsplit_uimage: read extralen from device tree

An "openwrt,padding" property in device tree can replace two device
specific parsers.

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