On 1 February 2016 at 19:45, Alexander Graf <ag...@suse.de> wrote: > 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 <ag...@suse.de> > > --- > > v1 -> v2: > > - move memory allocation to separate patch > - limit 32/64 to hosts that support it > - check 32bit optional nt header magic > - switch to GPL2+ > > v2 -> v3: > > - use efi_alloc > - add EFIAPI to function prototypes > - remove unused macros > - reorder header inclusion > - split relocation code into function > - flush cache after loading > --- > include/efi_loader.h | 20 +++ > include/pe.h | 263 > ++++++++++++++++++++++++++++++++++++++ > lib/efi_loader/efi_image_loader.c | 182 ++++++++++++++++++++++++++ > 3 files changed, 465 insertions(+) > create mode 100644 include/efi_loader.h > create mode 100644 include/pe.h > create mode 100644 lib/efi_loader/efi_image_loader.c
Reviewed-by: Simon Glass <s...@chromium.org> Tested on Beaglebone Black and Minnowboard MAX: Tested-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot