fix copy'n paste error
[buildroot.git] / target / jffs2 / Config.in
blob268c1916f3ec9161d3e6be4c7386700934450f9c
1 config BR2_TARGET_ROOTFS_JFFS2
2         bool "jffs2 root filesystem"
3         default n
4         select BR2_HOST_FAKEROOT
5         select BR2_PACKAGE_MTD
6         help
7           Build a jffs2 root filesystem
10 choice
11         prompt "Memory Type"
12         default BR2_TARGET_ROOTFS_JFFS2_FLASH
13         depends on BR2_TARGET_ROOTFS_JFFS2
15 config BR2_TARGET_ROOTFS_JFFS2_FLASH
16         bool "Parallel flash with 4 kB pagesize"
17         depends on BR2_TARGET_ROOTFS_JFFS2
19 config BR2_TARGET_ROOTFS_JFFS2_DATAFLASH
20         bool "AT45 dataflash with 1056 byte pagesize"
21         depends on BR2_TARGET_ROOTFS_JFFS2
22         select BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
24 endchoice
27 config BR2_TARGET_ROOTFS_JFFS2_PAGESIZE
28         hex "Page Size"
29         depends on BR2_TARGET_ROOTFS_JFFS2_FLASH
30         default 0x1000
31         help
32           Set to pagesize of memory (Dataflash is 0x210 or 0x420)
34 config BR2_TARGET_ROOTFS_JFFS2_PAGESIZE
35         hex "Page Size"
36         depends on BR2_TARGET_ROOTFS_JFFS2_DATAFLASH
37         default 0x420
38         help
39           Set to pagesize of memory (Dataflash is 0x210 or 0x420)
41 config BR2_TARGET_ROOTFS_JFFS2_EBSIZE
42         hex "Erase block size"
43         depends on BR2_TARGET_ROOTFS_JFFS2_FLASH
44         default 0x20000
46 config BR2_TARGET_ROOTFS_JFFS2_EBSIZE
47         hex "Erase block size"
48         depends on BR2_TARGET_ROOTFS_JFFS2_DATAFLASH
49         default 0x2100
51 config BR2_TARGET_ROOTFS_JFFS2_NOCLEANMARKER
52         bool "Do not use Cleanmarker"
53         depends on BR2_TARGET_ROOTFS_JFFS2
54         default n
55         help
56           Do not use cleanmarkers if using NAND flash or Dataflash where
57           the pagesize is not a power of 2
59 config BR2_JFFS2_TARGET_SREC
60         bool "RootFS in SREC file formet"
61         depends on BR2_TARGET_ROOTFS_JFFS2
62         default n
64 config BR2_TARGET_ROOTFS_JFFS2_PAD
65         bool "Pad output"
66         depends on BR2_TARGET_ROOTFS_JFFS2
68 config BR2_TARGET_ROOTFS_JFFS2_PADSIZE
69         hex "Pad output size (0x0 = to end of EB)"
70         depends on BR2_TARGET_ROOTFS_JFFS2_PAD
71         default 0x0
72         help
73           Set to 0x0 to pad to end of erase block.
75 choice
76         prompt "Endianess"
77         default BR2_TARGET_ROOTFS_JFFS2_LE
78         depends on BR2_TARGET_ROOTFS_JFFS2
80 config BR2_TARGET_ROOTFS_JFFS2_LE
81         bool "little-endian"
82         depends on BR2_TARGET_ROOTFS_JFFS2
84 config BR2_TARGET_ROOTFS_JFFS2_BE
85         bool "big-endian"
86         depends on BR2_TARGET_ROOTFS_JFFS2
88 endchoice
90 config BR2_TARGET_ROOTFS_JFFS2_SQUASH
91         bool "Make all files be owned by root"
92         depends on BR2_TARGET_ROOTFS_JFFS2
94 config BR2_TARGET_ROOTFS_JFFS2_OUTPUT
95         string "Output File"
96         depends on BR2_TARGET_ROOTFS_JFFS2
97         default "$(IMAGE).jffs2"
99 config BR2_TARGET_ROOTFS_JFFS2_COPYTO
100         string "also copy the image to..."
101         depends on BR2_TARGET_ROOTFS_JFFS2
102         default ""
103         help
104           Copies the resulting image to a secondary location.