Home
last modified time | relevance | path

Searched hist:"1 e1e1c27" (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/cmd/
H A Dbootefi.c1e1e1c27 Wed Oct 03 16:55:38 CDT 2018 Heinrich Schuchardt <xypron.glpk@gmx.de> efi_loader: execute efi_save_gd() first

If DEBUG is defined we may be calling EFI_CALL already during the
initialization of the EFI subsystem. We must make sure efi_save_gd() has
already been called at that moment.

Anyway it is better to have this call in one location instead of three.

This fixes an illegal memory access occurring since 4e6b5d6503ce
("efi_loader: create root node") with DEBUG = 1.

Fixes: 4e6b5d6503ce ("efi_loader: create root node")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>