]> Git Repo - u-boot.git/blob - cmd/fs_uuid.c
Merge patch series "Enable OF_UPSTREAM for J721s2 and AM68"
[u-boot.git] / cmd / fs_uuid.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * cmd_fs_uuid.c -- fsuuid command
4  *
5  * Copyright (C) 2014, Bachmann electronic GmbH
6  */
7
8 #include <command.h>
9 #include <fs.h>
10
11 static int do_fs_uuid_wrapper(struct cmd_tbl *cmdtp, int flag, int argc,
12                               char *const argv[])
13 {
14         return do_fs_uuid(cmdtp, flag, argc, argv, FS_TYPE_ANY);
15 }
16
17 U_BOOT_CMD(
18         fsuuid, 4, 1, do_fs_uuid_wrapper,
19         "Look up a filesystem UUID",
20         "<interface> <dev>:<part>\n"
21         "    - print filesystem UUID\n"
22         "fsuuid <interface> <dev>:<part> <varname>\n"
23         "    - set environment variable to filesystem UUID\n"
24 );
This page took 0.027495 seconds and 4 git commands to generate.