Commit 9dd4399e authored by Michael Hope's avatar Michael Hope Committed by Kumar Gala
Browse files

fs: only select the disk subsystem if the filesystem needs it.



Of the filesystems under subsys/fs/, only the ELM FAT filesystem needs
the disk layer as others (like NFFS) talk directly to the flash API.

This removes the need to define CONFIG_DISK_ERASE_BLOCK_SIZE and
similar which are used by the disk subsystem but not by NFFS.

Signed-off-by: default avatarMichael Hope <mlhx@google.com>
parent 006f13ca
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@ menu "File Systems"

config FILE_SYSTEM
	bool "File system support"
	select DISK_ACCESS
	default n
	help
	  Enables support for file system.
@@ -26,6 +25,7 @@ config NO_FS

config FAT_FILESYSTEM_ELM
	bool "ELM FAT File System"
	select DISK_ACCESS
	help
	  Use the ELM FAT File system implementation.