diff options
| author | Tom Rini <[email protected]> | 2023-08-03 17:45:38 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2023-08-03 17:45:38 -0400 |
| commit | 989892f5805dc205033c4723bc8e024472564d16 (patch) | |
| tree | 9e95ad9c42383955460fc39eb095bcedb333b846 /include | |
| parent | 6cdd4b8108f57252b8849e71aa46e3a2d227c98d (diff) | |
| parent | 11158aef8939bb6e54361e4dae3809a9cbe78cff (diff) | |
Merge branch '2023-08-03-assorted-fixes'
- More MAINTAINERS file updates, bootstd fixes, a fat fix and debug
message fix
Diffstat (limited to 'include')
| -rw-r--r-- | include/bootmeth.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/bootmeth.h b/include/bootmeth.h index c3df9702e87..7cb7da33dea 100644 --- a/include/bootmeth.h +++ b/include/bootmeth.h @@ -263,6 +263,19 @@ int bootmeth_setup_iter_order(struct bootflow_iter *iter, bool include_global); int bootmeth_set_order(const char *order_str); /** + * bootmeth_setup_fs() - Set up read to read a file + * + * We must redo the setup before each filesystem operation. This function + * handles that, including setting the filesystem type if a block device is not + * being used + * + * @bflow: Information about file to try + * @desc: Block descriptor to read from (NULL if not a block device) + * Return: 0 if OK, -ve on error + */ +int bootmeth_setup_fs(struct bootflow *bflow, struct blk_desc *desc); + +/** * bootmeth_try_file() - See we can access a given file * * Check for a file with a given name. If found, the filename is allocated in |
