mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
efi_loader: fix comment in ESRT code
There is no variable num_pages in function efi_esrt_allocate_install(). Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
2af09d5ac4
commit
cb50dda10f
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ efi_status_t efi_esrt_allocate_install(u32 num_entries)
|
|||
u32 size = efi_esrt_entries_to_size(num_entries);
|
||||
efi_guid_t esrt_guid = efi_esrt_guid;
|
||||
|
||||
/* Reserve num_pages for ESRT */
|
||||
/* Reserve memory for ESRT */
|
||||
ret = efi_allocate_pool(EFI_BOOT_SERVICES_DATA, size,
|
||||
(void **)&new_esrt);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue