kernel: mtdsplit_uimage: add support for okli image
authorChuanhong Guo <gch981213@gmail.com>
Sun, 4 Aug 2019 12:41:56 +0000 (20:41 +0800)
committerChuanhong Guo <gch981213@gmail.com>
Thu, 8 Aug 2019 13:00:59 +0000 (21:00 +0800)
commit1d6368ee73a8a2c3ba1593fc4dd143f094f48520
treea6b3df78c8a2b1bc63080cd5e312709b798f08a0
parent11182349e1f31f873ebddd69d6b87dec638eaabf
kernel: mtdsplit_uimage: add support for okli image

This adds support for uImage used by OpenWrt kernel loader.
The parser searches for uImage header at flash eraseblock boundary
and it might attempt to split any firmware with loader, therefore
this entry doesn't have MTD_PARSER_TYPE_FIRMWARE so that this parser
is only used when explicitly defined in dts.

Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_uimage.c