]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: macro efi_size_in_pages()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 18 Nov 2018 16:58:49 +0000 (17:58 +0100)
committerAlexander Graf <agraf@suse.de>
Sun, 2 Dec 2018 20:59:37 +0000 (21:59 +0100)
commitc3772ca1e38f36f2486b44c27094421442414e5e
tree9e0796c02e18c264c21bf0f3964cd20490174843
parent42910ff1baa9c6bf9e0eecbe252bf06e11861fa8
efi_loader: macro efi_size_in_pages()

When allocating EFI memory pages the size in bytes has to be converted to
pages.

Provide a macro efi_size_in_pages() for this conversion.
Use it in the EFI subsystem and correct related comments.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c
include/efi_loader.h
lib/efi_loader/efi_memory.c