summaryrefslogtreecommitdiff
path: root/fs/fs.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-12-31 00:38:13 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-12-31 14:32:27 +0100
commitc0029e4e25c10d627f4bff62cdb4074bb2c7eaf7 (patch)
treea7383efef0e84fc0eac5386eadd10c2fd8ee0c09 /fs/fs.c
parentd0be67657d64523b4499d385390c08c2bafab1bc (diff)
downloadu-boot-c0029e4e25c10d627f4bff62cdb4074bb2c7eaf7.tar.gz
u-boot-c0029e4e25c10d627f4bff62cdb4074bb2c7eaf7.tar.bz2
u-boot-c0029e4e25c10d627f4bff62cdb4074bb2c7eaf7.zip
fs/fat: implement fsuuid command
The FAT file system does not have a UUID but a 4 byte volume ID. Let the fsuuid command show it in XXXX-XXXX format. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'fs/fs.c')
-rw-r--r--fs/fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fs.c b/fs/fs.c
index 7a4020607a..5e80648b5b 100644
--- a/fs/fs.c
+++ b/fs/fs.c
@@ -194,7 +194,7 @@ static struct fstype_info fstypes[] = {
.unlink = fs_unlink_unsupported,
.mkdir = fs_mkdir_unsupported,
#endif
- .uuid = fs_uuid_unsupported,
+ .uuid = fat_uuid,
.opendir = fat_opendir,
.readdir = fat_readdir,
.closedir = fat_closedir,