aboutsummaryrefslogtreecommitdiff
path: root/include/bootmeth.h
diff options
context:
space:
mode:
authorSimon Glass2023-01-17 10:47:59 -0700
committerTom Rini2023-01-23 18:11:40 -0500
commita58e7bbeb64d8989bb6fc8699c84053e383361af (patch)
treebcfd0b019afd6af34670374de1a85bf471d3e867 /include/bootmeth.h
parent25365879029d06b17b29010547e7a992901f51c0 (diff)
bootstd: Update docs on bootmeth_try_file() for sandbox
Mention that this function is also used with a NULL block devices to access files on the host, when using sandbox. Update the comment on struct bootflow also. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/bootmeth.h')
-rw-r--r--include/bootmeth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bootmeth.h b/include/bootmeth.h
index 669b14ce81e..bdce301e925 100644
--- a/include/bootmeth.h
+++ b/include/bootmeth.h
@@ -240,7 +240,7 @@ int bootmeth_set_order(const char *order_str);
* caller before reading the file.
*
* @bflow: Information about file to try
- * @desc: Block descriptor to read from
+ * @desc: Block descriptor to read from (NULL for sandbox host)
* @prefix: Filename prefix to prepend to @fname (NULL for none)
* @fname: Filename to read
* Return: 0 if OK, -ENOMEM if not enough memory to allocate bflow->fname,