kernel: add support for enabling fit firmware partition parser via cmdline
authorFelix Fietkau <nbd@nbd.name>
Wed, 3 Feb 2021 19:37:03 +0000 (20:37 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 28 Feb 2021 00:46:11 +0000 (00:46 +0000)
commit7a6d0748247e23fe976bc400e9802db903d20b47
treeeefdaf6630efb50e17ab5c88feaaa0cfb45ecd96
parente230345bbce2f7045989ccf388fa8aa9a9e962d1
kernel: add support for enabling fit firmware partition parser via cmdline

This is useful for dual-boot setups where the loader sets variables depending
on the flash boot partition.
For example the Linksys E8450 sets mtdparts=master for the first partition
and mtdparts=slave for the second one.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_fit.c