diff --git a/target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch b/target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch index 91a91b36cab..b071ac61ecf 100644 --- a/target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch +++ b/target/linux/generic/hack-5.10/420-mtd-set-rootfs-to-be-root-dev.patch @@ -32,7 +32,7 @@ Signed-off-by: Gabor Juhos + pr_notice("mtd: device %d (%s) set to be root filesystem\n", + mtd->index, mtd->name); +#ifdef CONFIG_FIT_PARTITION -+ index <<= 1; ++ index <<= 2; +#endif + ROOT_DEV = MKDEV(MTD_BLOCK_MAJOR, index); + }