diff options
author | Tom Rini <trini@konsulko.com> | 2023-08-15 13:08:17 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-08-15 13:08:17 -0400 |
commit | 9b54b0e37b72aa9bfff09cbbe13465abfa143f84 (patch) | |
tree | db7a88320a3558c2287e5a0da642e1d28c17ba9f /lib/efi_loader/efi_memory.c | |
parent | f0efecd27dfb7fda224ccbf661ce4c55744edccc (diff) | |
parent | d768dd88552df18d4a0527cf3d6ddd05dc072f02 (diff) |
Merge tag 'efi-2023-10-rc3' of https://source.denx.de/u-boot/custodians/u-boot-efi
Pull request for efi-2023-10-rc3
Documentation:
* Correct description of board_get_usable_ram_top
* Add partition API to HTML documentation
* Describe lmb_is_reserved
* doc/sphinx/requirements.txt: Bump certifi up
UEFI:
* Fix efi_add_known_memory
* Make distro_efi_boot() static
Other:
* Correct return type board_get_usable_ram_top
Diffstat (limited to 'lib/efi_loader/efi_memory.c')
-rw-r--r-- | lib/efi_loader/efi_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c index ebf4a2d5fa..f752703b43 100644 --- a/lib/efi_loader/efi_memory.c +++ b/lib/efi_loader/efi_memory.c @@ -877,7 +877,7 @@ efi_status_t efi_add_conventional_memory_map(u64 ram_start, u64 ram_end, */ __weak void efi_add_known_memory(void) { - u64 ram_top = board_get_usable_ram_top(0) & ~EFI_PAGE_MASK; + u64 ram_top = gd->ram_top & ~EFI_PAGE_MASK; int i; /* |