projects
/
openwrt
/
staging
/
ldir.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
generic: sync mtd rootfs hack with part_bits
[openwrt/staging/ldir.git]
/
target
/
linux
/
generic
/
hack-5.10
/
420-mtd-set-rootfs-to-be-root-dev.patch
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 91a91b36cabee53e93de6fb207fecf224f364dca..b071ac61ecfe0abd50b9ed39d99dffa756060912 100644
(file)
--- 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 <juhosg@openwrt.org>
+ 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);
+ }