X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common%2Fcmd_fs.c;h=e146254f6d68367d8dc2650c409f24a1676362dd;hb=72731118e241266b88c89bfc01a0162d0e27ff2b;hp=0d9da113bf0c1305bc64e7e67368d6eba800b5e0;hpb=878cd63e02f63f245182a101807186b44e20f116;p=u-boot diff --git a/common/cmd_fs.c b/common/cmd_fs.c index 0d9da113bf..e146254f6d 100644 --- a/common/cmd_fs.c +++ b/common/cmd_fs.c @@ -81,3 +81,18 @@ U_BOOT_CMD( " - List files in directory 'directory' of partition 'part' on\n" " device type 'interface' instance 'dev'." ) + +static int do_fstype_wrapper(cmd_tbl_t *cmdtp, int flag, int argc, + char * const argv[]) +{ + return do_fs_type(cmdtp, flag, argc, argv); +} + +U_BOOT_CMD( + fstype, 4, 1, do_fstype_wrapper, + "Look up a filesystem type", + " :\n" + "- print filesystem type\n" + "fstype : \n" + "- set environment variable to filesystem type\n" +);