diff options
author | Niel Fourie <lusus@denx.de> | 2020-03-24 16:17:04 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-07-07 15:36:59 -0400 |
commit | 2280fa56a00a63bbabc2076330367ec2863a474b (patch) | |
tree | 73e2b27ac85de642194f505371fa493169b65281 /include/fs.h | |
parent | 0ffdfbd1d0eca769878913d15f232c9219cf2aa1 (diff) | |
download | u-boot-2280fa56a00a63bbabc2076330367ec2863a474b.tar.gz u-boot-2280fa56a00a63bbabc2076330367ec2863a474b.tar.bz2 u-boot-2280fa56a00a63bbabc2076330367ec2863a474b.zip |
cmd: fs: Add command to list supported fs types
Added command "fstypes" to list supported/included filesystems.
Signed-off-by: Niel Fourie <lusus@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
[trini: Limit to sandbox]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/fs.h')
-rw-r--r-- | include/fs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/fs.h b/include/fs.h index 29f737b8c2..b08b1f40c5 100644 --- a/include/fs.h +++ b/include/fs.h @@ -259,4 +259,15 @@ int do_fs_uuid(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[], */ int do_fs_type(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]); +/** + * do_fs_types - List supported filesystems. + * + * @cmdtp: Command information for fstypes + * @flag: Command flags (CMD_FLAG_...) + * @argc: Number of arguments + * @argv: List of arguments + * @return result (see enum command_ret_t) + */ +int do_fs_types(struct cmd_tbl *cmdtp, int flag, int argc, char * const argv[]); + #endif /* _FS_H */ |