]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: abort on unsupported relocation type
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Mon, 3 Jul 2017 22:12:58 +0000 (00:12 +0200)
committerAlexander Graf <agraf@suse.de>
Tue, 4 Jul 2017 07:03:00 +0000 (09:03 +0200)
commitda684a646d0c94f7a6126e7ecf110278691465a6
treed99eab854258bbb0c50f7bdd7276de98a561da9b
parentbc188a30c631939f470c94a8d0e3f7245192f456
efi_loader: abort on unsupported relocation type

If a relocation type is not supported loading the EFI binary
should be aborted.

Writing a message only is insufficient.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
[agraf: use a() != b coding style]
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_image_loader.c