summaryrefslogtreecommitdiffstats
path: root/lib/efi_loader/efi_image_loader.c
Commit message (Collapse)AuthorAgeFilesLines
* efi_loader: Fix some entry/exit pointsAlexander Graf2016-03-271-4/+1
| | | | | | | | | | | | When switching between EFI context and U-Boot context we need to swap the register that "gd" resides in. Some functions slipped through here, with efi_allocate_pool / efi_free_pool not doing the switch correctly and efi_return_handle switching too often. Fix them all up to make sure we always have consistent register state. Signed-off-by: Alexander Graf <agraf@suse.de>
* efi_loader: Add PE image loaderAlexander Graf2016-03-151-0/+188
EFI uses the PE binary format for its application images. Add support to EFI PE binaries as well as all necessary bits for the "EFI image loader" interfaces. Signed-off-by: Alexander Graf <agraf@suse.de> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
OpenPOWER on IntegriCloud