efi_loader: Update efi_run_image() to accept image and device path
authorSimon Glass <sjg@chromium.org>
Thu, 23 Jan 2025 22:07:20 +0000 (15:07 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 26 Jan 2025 10:06:57 +0000 (11:06 +0100)
commita70759898a0ee9750d418da78ff0ebcd432e9bb5
tree57add1a4fd188053f36f57b1fba108c34e1c741e
parent7a713ab1c63fd5efb1f71caf6678166f9a7447be
efi_loader: Update efi_run_image() to accept image and device path

Provide these globals as parameters to this function, on the way to
making it possible to start an image without relying on the globals.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/efi_loader/efi_bootbin.c