]> git.baikalelectronics.ru Git - uboot.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)
commit870cf0872d82b9a58a9585137dca540c690df3da
tree6cd3d3b1f5edb32eb63a42f2fda0e1c53a0c785f
parentb0d3434e291a501ed84a2eafa62d6d378f21e428
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