blob: 4832b8d9e45e3c81d4d5ad293189ae8b714fe010 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001config MTD_SPLIT
2 def_bool n
3 help
4 Generic MTD split support.
5
6config MTD_SPLIT_SUPPORT
7 def_bool MTD = y
8
9comment "Rootfs partition parsers"
10
11config MTD_SPLIT_SQUASHFS_ROOT
12 bool "Squashfs based root partition parser"
13 depends on MTD_SPLIT_SUPPORT
14 select MTD_SPLIT
15 default n
16 help
17 This provides a parsing function which allows to detect the
18 offset and size of the unused portion of a rootfs partition
19 containing a squashfs.
20
21comment "Firmware partition parsers"
22
23config MTD_SPLIT_BCM_WFI_FW
24 bool "Broadcom Whole Flash Image parser"
25 depends on MTD_SPLIT_SUPPORT
26 select MTD_SPLIT
27
28config MTD_SPLIT_CFE_BOOTFS
29 bool "Parser finding rootfs appended to the CFE bootfs"
30 depends on MTD_SPLIT_SUPPORT && ARCH_BCM4908
31 select MTD_SPLIT
32 help
33 cferom on BCM4908 (and bcm63xx) uses JFFS2 bootfs partition
34 for storing kernel, cferam and some device specific files.
35 There isn't any straight way of storing rootfs so it gets
36 appended to the JFFS2 bootfs partition. Kernel needs to find
37 it and run init from it. This parser is responsible for
38 finding appended rootfs.
39
40config MTD_SPLIT_SEAMA_FW
41 bool "Seama firmware parser"
42 depends on MTD_SPLIT_SUPPORT
43 select MTD_SPLIT
44
45config MTD_SPLIT_WRGG_FW
46 bool "WRGG firmware parser"
47 depends on MTD_SPLIT_SUPPORT
48 select MTD_SPLIT
49
50config MTD_SPLIT_UIMAGE_FW
51 bool "uImage based firmware partition parser"
52 depends on MTD_SPLIT_SUPPORT
53 select MTD_SPLIT
54
55config MTD_SPLIT_FIT_FW
56 bool "FIT based firmware partition parser"
57 depends on MTD_SPLIT_SUPPORT
58 select MTD_SPLIT
59
60config MTD_SPLIT_LZMA_FW
61 bool "LZMA compressed kernel based firmware partition parser"
62 depends on MTD_SPLIT_SUPPORT
63 select MTD_SPLIT
64
65config MTD_SPLIT_TPLINK_FW
66 bool "TP-Link firmware parser"
67 depends on MTD_SPLIT_SUPPORT
68 select MTD_SPLIT
69
70config MTD_SPLIT_TRX_FW
71 bool "TRX image based firmware partition parser"
72 depends on MTD_SPLIT_SUPPORT
73 select MTD_SPLIT
74
75config MTD_SPLIT_BRNIMAGE_FW
76 bool "brnImage (brnboot image) firmware parser"
77 depends on MTD_SPLIT_SUPPORT
78 select MTD_SPLIT
79
80config MTD_SPLIT_EVA_FW
81 bool "EVA image based firmware partition parser"
82 depends on MTD_SPLIT_SUPPORT
83 select MTD_SPLIT
84
85config MTD_SPLIT_MINOR_FW
86 bool "Mikrotik NOR image based firmware partition parser"
87 depends on MTD_SPLIT_SUPPORT
88 select MTD_SPLIT
89
90config MTD_SPLIT_JIMAGE_FW
91 bool "JBOOT Image based firmware partition parser"
92 depends on MTD_SPLIT_SUPPORT
93 select MTD_SPLIT
94
95config MTD_SPLIT_ELF_FW
96 bool "ELF loader firmware partition parser"
97 depends on MTD_SPLIT_SUPPORT
98 select MTD_SPLIT