aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/hack-5.10/410-block-fit-partition-parser.patch
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-03-23 19:29:07 +0000
committerDaniel Golle <daniel@makrotopia.org>2022-03-27 16:14:00 +0100
commit84f47106892c29b7fe17eec8a535623d53316dfa (patch)
tree8d959d4e11ea303435a428c87c0b4bc5172edf90 /target/linux/generic/hack-5.10/410-block-fit-partition-parser.patch
parentda13fb9742a72ce9e74b6409cc77c20a5042444d (diff)
downloadupstream-84f47106892c29b7fe17eec8a535623d53316dfa.tar.gz
upstream-84f47106892c29b7fe17eec8a535623d53316dfa.tar.bz2
upstream-84f47106892c29b7fe17eec8a535623d53316dfa.zip
kernel: generic: improve FIT partition parser
* only map filesystems configured in 'loadables' * allow mapping more than one filesystem (e.g. customization/branding or localization in addition to rootfs) * small cleaning here and there Signed-off-by: Daniel Golle <daniel@makrotopia.org> (cherry picked from commit ab143647efef2a13bcce2f28a2797899fbc83946)
Diffstat (limited to 'target/linux/generic/hack-5.10/410-block-fit-partition-parser.patch')
-rw-r--r--target/linux/generic/hack-5.10/410-block-fit-partition-parser.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/generic/hack-5.10/410-block-fit-partition-parser.patch b/target/linux/generic/hack-5.10/410-block-fit-partition-parser.patch
index bc48296d9c..7816356227 100644
--- a/target/linux/generic/hack-5.10/410-block-fit-partition-parser.patch
+++ b/target/linux/generic/hack-5.10/410-block-fit-partition-parser.patch
@@ -156,7 +156,7 @@
.name = "mtdblock",
.major = MTD_BLOCK_MAJOR,
+#ifdef CONFIG_FIT_PARTITION
-+ .part_bits = 1,
++ .part_bits = 2,
+#else
.part_bits = 0,
+#endif