aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/block
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-04-03 00:40:25 +0100
committerDaniel Golle <daniel@makrotopia.org>2021-04-09 16:04:29 +0100
commitce14445b748db8fbc57bc3e619c69d3989ef3efc (patch)
tree6e26a3a4bf766f6167cad1d7389b21306ae02367 /target/linux/generic/files/block
parent0268f76bbbe716947c46120217bdb4956c8fb7e8 (diff)
downloadupstream-ce14445b748db8fbc57bc3e619c69d3989ef3efc.tar.gz
upstream-ce14445b748db8fbc57bc3e619c69d3989ef3efc.tar.bz2
upstream-ce14445b748db8fbc57bc3e619c69d3989ef3efc.zip
kernel: mtdsplit_fit: support FIT with external data
U-Boot has recently added support for having data blobs in uImage.FIT images stored at offsets after the FDT structure rather than embedding the data into the FDT structure itself. This is useful as it allows parts of the image to be mapped by the FIT partition parser, and it allows the FIT structure itself to be parsed more easily as it usually fits into single page. mtdsplit_fit assumed that the total length of an image is identical to the length of the FDT structure. For uImage.FIT with external data this assumption no longer holds true. Add support for uImage.FIT with external data to mtdsplit_fit and in in that case only split-off rootfs_data -- selecting and mapping rootfs partition is left to the block partition parser just like on UBI and block/GPT based platforms. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/generic/files/block')
0 files changed, 0 insertions, 0 deletions