[U-Boot] [U-Boot, v3] efi_loader: Check machine type in the image header

Alexander Graf agraf at suse.de
Fri Apr 6 07:28:12 UTC 2018


> Check FileHeader.Machine to make sure the EFI executable image is built
> for the same architecture. For example, 32-bit U-Boot on x86 will print
> an error message instead of loading an x86_64 image and crashing.
> 
> Signed-off-by: Ivan Gorinov <ivan.gorinov at intel.com>

Thanks, applied to efi-next

Alex



More information about the U-Boot mailing list