]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_memory: use list_count_nodes() to count list entries
authorSughosh Ganu <sughosh.ganu@linaro.org>
Tue, 30 Jul 2024 11:11:29 +0000 (16:41 +0530)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Wed, 31 Jul 2024 07:54:31 +0000 (09:54 +0200)
commit22f893047db9560400415316256959ed29167d04
tree3326a444d8d2e7ca1c9a9af65945ec13ca4e9841
parentc809b3b641b34125aa6345b0849c7a491bd18c96
efi_memory: use list_count_nodes() to count list entries

Use the API function list_count_nodes() to count the number of EFI
memory map entries.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/efi_memory.c