aboutsummaryrefslogtreecommitdiff
path: root/include/bootflow.h
diff options
context:
space:
mode:
authorSimon Glass2023-01-17 10:47:58 -0700
committerTom Rini2023-01-23 18:11:40 -0500
commit25365879029d06b17b29010547e7a992901f51c0 (patch)
treec556c8d9cf06129efffa9a63b77a0f13e292cbeb /include/bootflow.h
parente890e8c4cbeb6b8ed27d48be946ecec03ef267e2 (diff)
bootstd: Set the distro_bootpart env var with scripts
This environment variable is supposed to be set so that the script knows which partition holds the script. Set it before invoking the script. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/bootflow.h')
-rw-r--r--include/bootflow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/bootflow.h b/include/bootflow.h
index bf71b09edad..ed9b61f5118 100644
--- a/include/bootflow.h
+++ b/include/bootflow.h
@@ -144,6 +144,8 @@ enum bootflow_flags_t {
* appear first, then the global ones, if any
* @doing_global: true if we are iterating through the global bootmeths (which
* happens before the normal ones)
+ * @method_flags: flags controlling which methods should be used for this @dev
+ * (enum bootflow_meth_flags_t)
*/
struct bootflow_iter {
int flags;
@@ -161,6 +163,7 @@ struct bootflow_iter {
int first_glob_method;
struct udevice **method_order;
bool doing_global;
+ int method_flags;
};
/**