aboutsummaryrefslogtreecommitdiff
path: root/target/linux/mediatek/files/block
Commit message (Collapse)AuthorAge
* mediatek: phase out uImage.FIT partition parserDaniel Golle2024-08-28
| | | | | | | | All boards using the deprecated uImage.FIT partition parser have been migrated to the new fitblk driver. Drop the now no longer needed partition parser. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* mediatek: fit: fix use of uninitialized variableQingfang Deng2024-07-07
| | | | | | | | | | | | | | | | When building the kernel with -Wmaybe-uninitialized, GCC reports this warning: block/partitions/fit.c: In function 'parse_fit_partitions': block/partitions/fit.c:164:3: warning: 'images' may be used uninitialized in this function [-Wmaybe-uninitialized] 164 | printk(KERN_ERR "FIT: Cannot find %s node: %d\n", FIT_CONFS_PATH, images); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ It appears to be a copy paste error. It's the "config" variable that is supposed to be printed. Fixes: e6aac8d98f56 ("image: add support for building FIT image with filesystem") Signed-off-by: Qingfang Deng <qingfang.deng@siflower.com.cn>
* kernel: allow skipping deprecated uImage.FIT partition parserDaniel Golle2024-02-15
| | | | | | | | | | | | In order to allow gradually migrating the boards currently using the uImage.FIT partition (deprecated/rejected) parser to the new fitblk driver, skip the partition parser code in case the new fitblk driver (which serves the same purpose) is used. As an indicator for the use of the new fitblk driver, check if the /chosen/rootdisk property is present in the Device Tree. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: move uImage.FIT partition parser to mediatek targetDaniel Golle2024-02-15
The partition parser approach has been rejected upstream, it will be replaced by a small block driver which is the solution suggestion by upstream maintainers. As the partition parser has only been used by the mediatek target, as a first step, move it there. Signed-off-by: Daniel Golle <daniel@makrotopia.org>