]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: allocate correct memory type for EFI image
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Fri, 19 Jan 2018 19:24:41 +0000 (20:24 +0100)
committerAlexander Graf <agraf@suse.de>
Mon, 22 Jan 2018 22:09:13 +0000 (23:09 +0100)
commita0ee9cd7defaddf2666c33aeeff67227109e539e
tree8e5b48b7ab9fd0f2ed962f46ce1546621892c1d3
parent04ce7c95d557bf9b901143b454127a86a2aeef2a
efi_loader: allocate correct memory type for EFI image

The category of memory allocated for an EFI image should depend on
its type (application, bootime service driver, runtime service driver).

Our helloworld.efi built on arm64 has an illegal image type. Treat it
like an EFI application.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_image_loader.c