]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: efi: Update efi_get_next_mem_desc() to avoid needing a map
authorSimon Glass <sjg@chromium.org>
Tue, 4 Jan 2022 10:51:11 +0000 (03:51 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 15 Jan 2022 09:57:22 +0000 (10:57 +0100)
commitce1dc0cc17e94a0bf1c17bd1465cb0afd5bfb214
tree037a55ab097ec6cb8d8bc4480337620ba1d2c8bf
parent866e2ac5aa4b8a36db5bb4afd8b4e8302029849a
x86: efi: Update efi_get_next_mem_desc() to avoid needing a map

At present this function requires a pointer to struct efi_entry_memmap
but the only field used in there is the desc_size. We want to be able
to use it from the app, so update it to use desc_size directly.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/efi/payload.c
cmd/efi.c
include/efi.h