1 # SPDX-License-Identifier: GPL-2.0-only 2 config ROMFS_FS 3 tristate "ROM file system support" 4 depends on BLOCK || MTD 5 help 6 This is a very small read-only file 7 initial ram disks of installation di 8 other read-only media as well. Read 9 <file:Documentation/filesystems/romf 10 11 To compile this file system support 12 module will be called romfs. Note t 13 root partition (the one containing t 14 module. 15 16 If you don't know whether you need i 17 answer N. 18 19 # 20 # Select the backing stores to be supported 21 # 22 choice 23 prompt "RomFS backing stores" 24 depends on ROMFS_FS 25 default ROMFS_BACKED_BY_BLOCK 26 help 27 Select the backing stores to be supp 28 29 config ROMFS_BACKED_BY_BLOCK 30 bool "Block device-backed ROM file sys 31 depends on BLOCK 32 help 33 This permits ROMFS to use block devi 34 cache as the medium from which to re 35 direct mapping of the medium. 36 37 If unsure, answer Y. 38 39 config ROMFS_BACKED_BY_MTD 40 bool "MTD-backed ROM file system suppo 41 depends on MTD=y || (ROMFS_FS=m && MTD 42 help 43 This permits ROMFS to use MTD based 44 intercession of the block layer (whi 45 also allows direct mapping of MTD de 46 NOMMU conditions if the underlying d 47 the CPU. 48 49 If unsure, answer Y. 50 51 config ROMFS_BACKED_BY_BOTH 52 bool "Both the above" 53 depends on BLOCK && (MTD=y || (ROMFS_F 54 endchoice 55 56 57 config ROMFS_ON_BLOCK 58 bool 59 default y if ROMFS_BACKED_BY_BLOCK || 60 select BUFFER_HEAD 61 62 config ROMFS_ON_MTD 63 bool 64 default y if ROMFS_BACKED_BY_MTD || RO
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.