1
2
3
4
5
6
7
8
9#include <common.h>
10#include <command.h>
11#include <fs.h>
12
13static int do_fs_uuid_wrapper(cmd_tbl_t *cmdtp, int flag,
14 int argc, char * const argv[])
15{
16 return do_fs_uuid(cmdtp, flag, argc, argv, FS_TYPE_ANY);
17}
18
19U_BOOT_CMD(
20 fsuuid, 4, 1, do_fs_uuid_wrapper,
21 "Look up a filesystem UUID",
22 "<interface> <dev>:<part>\n"
23 " - print filesystem UUID\n"
24 "fsuuid <interface> <dev>:<part> <varname>\n"
25 " - set environment variable to filesystem UUID\n"
26);
27