kernel: add support for mtdsplit-fit offset
authorYoonji Park <koreapyj@dcmys.kr>
Sun, 5 Jun 2022 18:04:18 +0000 (18:04 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 12 Sep 2022 00:43:49 +0000 (01:43 +0100)
commit49763d907b0d87769c3e5885f1c11b5b62ccfa2b
tree89a43b133ab7a958e06a75a2d29b0f80aca4bf6c
parentb4d81147708f715b771aee0143c74cd9a7ee8241
kernel: add support for mtdsplit-fit offset

Support devices that has vendor custom header before FIT image.

Some devices has vendor custom header before FIT image. In this case mtd-
split can not find FIT image and it results in rootfs mount failure.
Please refer iptime,a6004mx device for further examples.

Signed-off-by: Yoonji Park <koreapyj@dcmys.kr>
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_fit.c