open-plc-utils: new package
[buildroot-gz.git] / fs / jffs2 / Config.in
blobe2a3ee902170918d5a4e0dd50c35ecdc6f4cf5a9
1 config BR2_TARGET_ROOTFS_JFFS2
2         bool "jffs2 root filesystem"
3         help
4           Build a jffs2 root filesystem
6 if BR2_TARGET_ROOTFS_JFFS2
8 choice
9         prompt "Flash Type"
10         default BR2_TARGET_ROOTFS_JFFS2_FLASH_128
12 config BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056
13         bool "AT45 dataflash with 1056 byte pagesize"
14         select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
16 config BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528
17         bool "AT45 dataflash with 528 byte pagesize"
18         select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
20 config BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_512_16K
21         bool "NAND flash with 512B Page and 16 kB erasesize"
22         select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
24 config BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K
25         bool "NAND flash with 2kB Page and 128 kB erasesize"
26         select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
28 config BR2_TARGET_ROOTFS_JFFS2_FLASH_128
29         bool "Parallel flash with 4 kB pagesize and 128 kB erase size"
31 config BR2_TARGET_ROOTFS_JFFS2_FLASH_64
32         bool "Parallel flash with 4 kB pagesize and 64 kB erase size"
34 config BR2_TARGET_ROOTFS_JFFS2_CUSTOM
35         bool "Select custom page and erase size"
37 endchoice
39 config BR2_TARGET_ROOTFS_JFFS2_CUSTOM_PAGESIZE
40         hex "Page Size"
41         depends on BR2_TARGET_ROOTFS_JFFS2_CUSTOM
42         default 0x1000
43         help
44           Set to pagesize of memory
46 config BR2_TARGET_ROOTFS_JFFS2_CUSTOM_EBSIZE
47         hex "Erase block size"
48         depends on BR2_TARGET_ROOTFS_JFFS2_CUSTOM
49         default 0x20000
50         help
51           Set to erase size of memory
53 config BR2_TARGET_ROOTFS_JFFS2_PAGESIZE
54         hex
55         default 0x420 if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056
56         default 0x210 if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528
57         default 0x200 if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_512_16K
58         default 0x800 if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K
59         default 0x1000 if BR2_TARGET_ROOTFS_JFFS2_FLASH_128
60         default 0x1000 if BR2_TARGET_ROOTFS_JFFS2_FLASH_64
61         default BR2_TARGET_ROOTFS_JFFS2_CUSTOM_PAGESIZE if BR2_TARGET_ROOTFS_JFFS2_CUSTOM
63 config BR2_TARGET_ROOTFS_JFFS2_EBSIZE
64         hex
65         default 0x2100 if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056
66         default 0x1080 if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528
67         default 0x4000 if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_512_16K
68         default 0x20000 if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K
69         default 0x20000 if BR2_TARGET_ROOTFS_JFFS2_FLASH_128
70         default 0x10000 if BR2_TARGET_ROOTFS_JFFS2_FLASH_64
71         default BR2_TARGET_ROOTFS_JFFS2_CUSTOM_EBSIZE if BR2_TARGET_ROOTFS_JFFS2_CUSTOM
73 config BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
74         bool "Do not use Cleanmarker"
75         default y if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_1056
76         default y if BR2_TARGET_ROOTFS_JFFS2_DATAFLASH_528
77         default y if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_512_16K
78         default y if BR2_TARGET_ROOTFS_JFFS2_NANDFLASH_2K_128K
79         help
80           Do not use cleanmarkers if using NAND flash or Dataflash where
81           the pagesize is not a power of 2
83 config BR2_TARGET_ROOTFS_JFFS2_PAD
84         bool "Pad output"
86 config BR2_TARGET_ROOTFS_JFFS2_PADSIZE
87         hex "Pad output size (0x0 = to end of EB)"
88         depends on BR2_TARGET_ROOTFS_JFFS2_PAD
89         default 0x0
90         help
91           Set to 0x0 to pad to end of erase block.
93 choice
94         prompt "Endianess"
95         default BR2_TARGET_ROOTFS_JFFS2_BE if BR2_ENDIAN = "BIG"
97 config BR2_TARGET_ROOTFS_JFFS2_LE
98         bool "little-endian"
100 config BR2_TARGET_ROOTFS_JFFS2_BE
101         bool "big-endian"
103 endchoice
105 config BR2_TARGET_ROOTFS_JFFS2_SUMMARY
106         bool "Produce a summarized JFFS2 image"
107         help
108           A summarised image can be mounted faster if support is
109           enabled in the kernel (CONFIG_JFFS2_SUMMARY)
111 endif