Home
last modified time | relevance | path

Searched hist:bbf75dd9 (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/lib/efi_loader/
H A Dhelloworld.cbbf75dd9 Sun Nov 26 07:05:20 CST 2017 Heinrich Schuchardt <xypron.glpk@gmx.de> efi_loader: output load options in helloworld

We need to test if we pass a valid image handle when loading
and EFI application. This cannot be done in efi_selftest as
it is not loaded as an image.

So let's enhance helloworld a bit.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
H A DMakefile3bb74f98 Fri Dec 01 15:09:50 CST 2017 Alexander Graf <agraf@suse.de> efi_loader helloworld.efi: Fix building with -Os

Depending on your compiler, when compiling the hello world efi binary
with -Os, gcc might think it's a smart idea to replace common patterns
such as memory copies with explicit calls to memcpy().

While that sounds great at first, we don't have any memcpy() available
in our helloworld build target. So let's indicate to gcc that we really
do want to have the code be built as freestanding.

Fixes: bbf75dd9 ("efi_loader: output load options in helloworld")
Signed-off-by: Alexander Graf <agraf@suse.de>