generic: sync mtd rootfs hack with part_bits
authorDaniel Golle <daniel@makrotopia.org>
Sat, 26 Mar 2022 22:51:21 +0000 (22:51 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 27 Mar 2022 15:14:00 +0000 (16:14 +0100)
commitbb596031fa461fdd07e0d3a89759bb2060bfe120
tree7a47c012fa0f3657e25e8399c6b01b40baea28bd
parent38847ebee06c6dbeeac7d86e374000a0ac0958de
generic: sync mtd rootfs hack with part_bits

In commit ab143647ef ("kernel: generic: improve FIT partition parser")
part_bits was bumped to 2 in order to allow up to 3 additional FIT
sub-images mapped into sub-partitions.
This change has to be reflected also in our local patch
420-mtd-set-rootfs-to-be-root-dev.patch
which still assumed part_bits==1 for mtdblock devices in case of
CONFIG_FIT_PARTITION=y.

Fixes: #9557
Fixes: ab143647ef ("kernel: generic: improve FIT partition parser")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit 13960fb0e0babcd99530fcb234073af0c0a5e2f5)
target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch