xref: /openbmc/linux/fs/romfs/Kconfig (revision da4458bd)
141810246SAlexey Dobriyanconfig ROMFS_FS
241810246SAlexey Dobriyan	tristate "ROM file system support"
341810246SAlexey Dobriyan	depends on BLOCK
441810246SAlexey Dobriyan	---help---
541810246SAlexey Dobriyan	  This is a very small read-only file system mainly intended for
641810246SAlexey Dobriyan	  initial ram disks of installation disks, but it could be used for
741810246SAlexey Dobriyan	  other read-only media as well.  Read
841810246SAlexey Dobriyan	  <file:Documentation/filesystems/romfs.txt> for details.
941810246SAlexey Dobriyan
1041810246SAlexey Dobriyan	  To compile this file system support as a module, choose M here: the
1141810246SAlexey Dobriyan	  module will be called romfs.  Note that the file system of your
1241810246SAlexey Dobriyan	  root partition (the one containing the directory /) cannot be a
1341810246SAlexey Dobriyan	  module.
1441810246SAlexey Dobriyan
1541810246SAlexey Dobriyan	  If you don't know whether you need it, then you don't need it:
1641810246SAlexey Dobriyan	  answer N.
17da4458bdSDavid Howells
18da4458bdSDavid Howellsconfig ROMFS_ON_BLOCK
19da4458bdSDavid Howells	bool "Block device-backed ROM file system support" if (ROMFS_ON_MTD && EMBEDDED)
20da4458bdSDavid Howells	depends on ROMFS_FS && BLOCK
21da4458bdSDavid Howells	help
22da4458bdSDavid Howells	  This permits ROMFS to use block devices buffered through the page
23da4458bdSDavid Howells	  cache as the medium from which to retrieve data.  It does not allow
24da4458bdSDavid Howells	  direct mapping of the medium.
25da4458bdSDavid Howells
26da4458bdSDavid Howells	  If unsure, answer Y.
27da4458bdSDavid Howells
28da4458bdSDavid Howellsconfig ROMFS_ON_MTD
29da4458bdSDavid Howells	bool "MTD-backed ROM file system support"
30da4458bdSDavid Howells	depends on ROMFS_FS
31da4458bdSDavid Howells	depends on MTD=y || (ROMFS_FS=m && MTD)
32da4458bdSDavid Howells	help
33da4458bdSDavid Howells	  This permits ROMFS to use MTD based devices directly, without the
34da4458bdSDavid Howells	  intercession of the block layer (which may have been disabled).  It
35da4458bdSDavid Howells	  also allows direct mapping of MTD devices through romfs files under
36da4458bdSDavid Howells	  NOMMU conditions if the underlying device is directly addressable by
37da4458bdSDavid Howells	  the CPU.
38da4458bdSDavid Howells
39da4458bdSDavid Howells	  If unsure, answer Y.
40da4458bdSDavid Howells
41