u-boot-brain/lib/efi_driver
Heinrich Schuchardt e7ac009b00 efi_loader: move efi_save_gd() call to board_r.c
The first functions of the UEFI sub-system are invoked before reaching the
U-Boot shell, e.g. efi_set_bootdev(), efi_dp_from_name(),
efi_dp_from_file(). We should be able to print out device paths for
debugging purposes here.

When printing device paths via printf("%pD\n", dp) this invokes functions
defined as EFIAPI. So efi_save_gd() must be called beforehand.

So let's move the efi_save_gd() call to function initr_reloc_global_data(()
in board_r.c.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2019-04-12 22:00:42 +02:00
..
Makefile SPDX: Convert a few files that were missed before 2018-05-10 20:38:35 -04:00
efi_block_device.c blk: Call part_init() in the post_probe() method 2018-11-14 09:16:27 -08:00
efi_uclass.c efi_loader: move efi_save_gd() call to board_r.c 2019-04-12 22:00:42 +02:00