commit | 914df75b0c97b6e9774025500c061231db1cc6b4 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Feb 09 14:10:39 2019 +0100 |
committer | Heinrich Schuchardt <xypron.glpk@gmx.de> | Sat Feb 16 15:42:20 2019 +0100 |
tree | d3448f0a06f50f20a92624c57ae8c52a50a24daf | |
parent | f69d63fae281ba98c3d063097cf4e95d17f3754d [diff] |
efi_loader: fix EFI entry counting `bootefi selftest` fails on qemu-x86_defconfig if efi_selftest() is not invoked using EFI_CALL(). Likewise we call the entry point of EFI payloads with EFI_CALL(efi_start_image()). entry_count indicates if we are in U-Boot (1) or in EFI payload code (0). As we start in U-Boot code the initial value has to be 1. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>