commit | 7250623cb409468dac77e7c84b87a04b44e5ba09 | [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 | 2f8eb08c7a62847af132b4497fa96a819cee65c6 [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>