[PATCH v4 10/19] bootmeth: Update the read_file() method to include a type
Simon Glass
sjg at chromium.org
Thu Dec 5 20:55:50 CET 2024
We want to record the type of each file which is loaded. Add an new
parameter for this, to the read_file() method. Update all users.
Make bootmeth_common_read_file() store information about the image that
is read.
Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Mattijs Korpershoek <mkorpershoek at baylibre.com>
---
(no changes since v3)
Changes in v3:
- Use the helper function
Changes in v2:
- Update to use a new image-type enum in bootflow.h
boot/bootmeth-uclass.c | 11 ++++++++---
boot/bootmeth_android.c | 3 ++-
boot/bootmeth_cros.c | 3 ++-
boot/bootmeth_efi.c | 5 +++--
boot/bootmeth_efi_mgr.c | 3 ++-
boot/bootmeth_extlinux.c | 2 +-
boot/bootmeth_pxe.c | 6 +++---
boot/bootmeth_qfw.c | 3 ++-
boot/bootmeth_sandbox.c | 3 ++-
boot/vbe_simple.c | 5 +++--
include/bootmeth.h | 13 +++++++++----
11 files changed, 37 insertions(+), 20 deletions(-)
Applied to ci/master, thanks!
More information about the U-Boot
mailing list