]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: Add a function to set the filesystem type
authorSimon Glass <sjg@chromium.org>
Mon, 25 Apr 2022 05:31:04 +0000 (23:31 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 25 Apr 2022 14:00:03 +0000 (10:00 -0400)
commitc24e58f599085efa79a61cb62170b6b2164b8ce9
tree6cd3d3b1f5edb32eb63a42f2fda0e1c53a0c785f
parent87571b7f2077c567f8d050abe60ff5578f0b7cd8
fs: Add a function to set the filesystem type

When sandbox is used with hostfs we won't have a block device, but still
must set up the filesystem type before any filesystem operation, such as
loading a file. Add a function to handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
fs/fs.c
include/fs.h