efi_loader: Pass in the required parameters from EFI bootmeth
authorSimon Glass <sjg@chromium.org>
Thu, 23 Jan 2025 22:07:23 +0000 (15:07 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 26 Jan 2025 10:06:57 +0000 (11:06 +0100)
commita2338955fc1d3bb6de86ab4fb6e7c55ff189f4f0
treed935119c55a18e22d2663fa0197ad9bcbb60cbda
parent5f67c8800e8ea56ab161a7b643f54190556e70bc
efi_loader: Pass in the required parameters from EFI bootmeth

Rather than setting up the global variables and then making the call,
pass them into function directly. This cleans up the code and makes it
all a bit easier to understand.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/bootmeth_efi.c
include/efi_loader.h
lib/efi_loader/efi_bootbin.c