summaryrefslogtreecommitdiff
path: root/boot/bootflow.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-07-30 11:16:56 -0600
committerSimon Glass <sjg@chromium.org>2023-08-10 18:34:54 -0600
commit76bd6844dcfeb1a7d2f529c2f715b34f4e574229 (patch)
treee70c3185fa3472fea16830035d7303c911423ea6 /boot/bootflow.c
parent1d4bbdf3e493b173d5f73150cea51c1965e3e1df (diff)
bootstd: Add private bootmeth data to the bootflow
Some bootmeths need to store their own information related to the bootflow, in addition to the generic information in struct bootflow. Add a pointer for this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/bootflow.c')
-rw-r--r--boot/bootflow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot/bootflow.c b/boot/bootflow.c
index 81b5829d5b3..daf862fac78 100644
--- a/boot/bootflow.c
+++ b/boot/bootflow.c
@@ -432,6 +432,7 @@ void bootflow_free(struct bootflow *bflow)
free(bflow->buf);
free(bflow->os_name);
free(bflow->fdt_fname);
+ free(bflow->bootmeth_priv);
}
void bootflow_remove(struct bootflow *bflow)