]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: fat: fix file_fat_detectfs()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 25 Jan 2021 11:53:14 +0000 (12:53 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 10 Apr 2021 10:00:24 +0000 (12:00 +0200)
commit02079eb38b1dd87bf5ae00216f513a2fb831e4d5
treea919963b82cfea44ff06506d1528fbb00bbc129e
parentf4dc1bc9f0ad0ee1d23aa185a4e8d9e904e6d88e
fs: fat: fix file_fat_detectfs()

Up to now file_fat_detectfs() did not detect some interface types like
EFI, HOST, VIRTIO.

Avoid duplicate code by calling blk_get_if_type_name().

The interface type now will be shown in lower case to match all other use
cases.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
fs/fat/fat.c