bootmeth_efi: Simplify reading files by using the common function
authorSimon Glass <sjg@chromium.org>
Fri, 15 Nov 2024 23:19:16 +0000 (16:19 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 15 Jan 2025 14:48:42 +0000 (08:48 -0600)
commitd4c60aa91b8a3a7b880c2a6ec24664108cd67730
tree09351cc915a5bf61a484c5cd6a8d8188b2fdae0f
parent8777ae2b957151cd4fc299b84055150c531e6333
bootmeth_efi: Simplify reading files by using the common function

The efiload_read_file() does similar things to a common function, so
update it to use that instead.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
boot/bootmeth_efi.c