blob: f5281d685202d45ff6401027ab98945f9b31f125 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
#
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
config EXAMPLES_MOUNT
bool "File system mount example"
default n
---help---
Enable the file system mount example
if EXAMPLES_MOUNT
config EXAMPLES_MOUNT_BLOCKDEVICE
bool "Use block device"
default n
---help---
Use an existing block device to mount. If EXAMPLES_MOUNT_BLOCKDEVICE
is not selected, then a RAM disk will be configured for the test.
if EXAMPLES_MOUNT_BLOCKDEVICE
config EXAMPLES_MOUNT_DEVNAME
string "Block device name"
default "/dev/mtdblock0"
---help---
The name of the user-provided block device to mount. Must be
provided if EXAMPLES_MOUNT_BLOCKDEVICE is selected.
endif # EXAMPLES_MOUNT_BLOCKDEVICE
if !EXAMPLES_MOUNT_BLOCKDEVICE
config EXAMPLES_MOUNT_NSECTORS
int "RAM disk number of sectors"
default 2048
---help---
The number of "sectors" in the RAM disk used when
EXAMPLES_MOUNT_BLOCKDEVICE is not selected.
config EXAMPLES_MOUNT_SECTORSIZE
int "RAM disk sector size"
default 512
---help---
The size of each sectors in the RAM disk used when
EXAMPLES_MOUNT_BLOCKDEVICE is not selected.
config EXAMPLES_MOUNT_RAMDEVNO
int "RAM disk device number"
default 0
---help---
The RAM device minor number used to mount the RAM disk used when
EXAMPLES_MOUNT_BLOCKDEVICE is not selected. The default is zero
(meaning that "/dev/ram0" will be used).
endif # !EXAMPLES_MOUNT_BLOCKDEVICE
endif # EXAMPLES_MOUNT
|