fs: Create a header file for filesystem-related commands

Most commands access the filesystem through the command-line interface
rather than the filesystem API itself. Add a new header file which
contains these functions, so we can separate commands from the API.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-06-19 06:57:00 -06:00
parent 05e5d61cf7
commit 56c6289442
14 changed files with 99 additions and 80 deletions

View File

@@ -20,7 +20,7 @@
* Ext2fs support
*/
#include <command.h>
#include <fs_legacy.h>
#include <fs_cmd.h>
static int do_ext2ls(struct cmd_tbl *cmdtp, int flag, int argc,
char *const argv[])