bootstd: Maintain a list of images
authorSimon Glass <sjg@chromium.org>
Fri, 15 Nov 2024 23:19:13 +0000 (16:19 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 15 Jan 2025 14:48:42 +0000 (08:48 -0600)
commit8a6bf2fb31b6a02227818e679d567ae012494467
treee56c0eda2726950e78a93779287a340a79231f83
parent49867e804543f64ca216653c3905d8022c31fc84
bootstd: Maintain a list of images

We want to keep track of images which are loaded, or those which could
perhaps be loaded. This will make it easier to manage memory allocation,
as well as permit removal of the EFI set_efi_bootdev() feature.

Add a list of these, attached to the bootflow. For now the list is
empty.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootflow.c
include/bootflow.h