fs: Provide an SPL Kconfig for legacy-filesystem support

Add a new SPL_FS_LEGACY which mirrors the recently added FS_LEGACY
option.

Select this new option when filesystems are required, either due to
SPL_FS_LOADER or one of the filesystems.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-06-28 10:15:31 -06:00
parent 14d2361c95
commit fba734be3c
4 changed files with 14 additions and 3 deletions

View File

@@ -627,6 +627,7 @@ config FS_LOADER
config SPL_FS_LOADER
bool "Enable loader driver for file system in SPL"
depends on SPL
select SPL_FS_LEGACY
help
This is file system generic loader which can be used to load
the file image from the storage into target such as memory.