diff options
author | Simon Glass <sjg@chromium.org> | 2024-11-15 16:19:14 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-01-15 08:48:42 -0600 |
commit | adc621bf15cf7478e2ac46985216703219ebe778 (patch) | |
tree | 2f2abd90ad2c480c2ee6d918278c6f40b3f1f780 /boot/bootmeth_extlinux.c | |
parent | 8a6bf2fb31b6a02227818e679d567ae012494467 (diff) |
bootstd: Update bootmeth_alloc_file() to record images
As a first step to recording images and where they came from, update
this function to do so, since it is used by two bootmeths
Create a helper function in the bootflow system, since recorded
images are always associated with bootflows.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'boot/bootmeth_extlinux.c')
-rw-r--r-- | boot/bootmeth_extlinux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/bootmeth_extlinux.c b/boot/bootmeth_extlinux.c index be8fbf4df63..6c158c2a6c6 100644 --- a/boot/bootmeth_extlinux.c +++ b/boot/bootmeth_extlinux.c @@ -159,7 +159,7 @@ static int extlinux_read_bootflow(struct udevice *dev, struct bootflow *bflow) return log_msg_ret("try", ret); size = bflow->size; - ret = bootmeth_alloc_file(bflow, 0x10000, 1); + ret = bootmeth_alloc_file(bflow, 0x10000, 1, BFI_EXTLINUX_CFG); if (ret) return log_msg_ret("read", ret); |