u-boot/arch
Simon Glass 1834c081d3 efi: Add video support to the app
The current EFI video driver only works when running in the stub. In that
case the stub calls boot services (before jumping to U-Boot proper) and
copies the graphics info over to the efi table. This is necessary because
the stub exits boot services before jumping to U-Boot.

The app maintains access to boot services throughout its life, so does not
need to do this. Update the driver to support calling boot services
directly.

Enable video output for the app. Note that this uses the
EFI_GRAPHICS_OUTPUT_PROTOCOL protocol, even though it mentions vesa.

A sample qemu command-line for this case is:

   qemu-system-x86_64 -bios /usr/share/edk2.git/ovmf-ia32/OVMF-pure-efi.fd
   -drive id=disk,file=try.img,if=none,format=raw -nic none
   -device ahci,id=ahci -device ide-hd,drive=disk,bus=ahci.0

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2021-11-07 18:36:55 +01:00
..
arc image: Drop IMAGE_ENABLE_OF_LIBFDT 2021-10-08 15:53:26 -04:00
arm Convert CONFIG_SYS_HZ to Kconfig 2021-11-05 11:23:29 -04:00
m68k WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
microblaze image: Drop IMAGE_ENABLE_OF_LIBFDT 2021-10-08 15:53:26 -04:00
mips Convert CONFIG_USB_EHCI_IS_TDI to Kconfig 2021-10-15 09:42:22 -04:00
nds32 image: Drop IMAGE_ENABLE_OF_LIBFDT 2021-10-08 15:53:26 -04:00
nios2 lmb: nios2: Add arch_lmb_reserve() 2021-09-23 14:15:32 -04:00
powerpc Convert CONFIG_NAND_FSL_ELBC et al to Kconfig 2021-10-06 09:16:24 -04:00
riscv riscv: Avoid io read/write cause wrong result 2021-10-20 10:59:17 +08:00
sandbox sandbox: Migrate ARCH_MAP_SYSMEM to Kconfig 2021-10-31 12:26:44 -06:00
sh WS cleanup: remove trailing empty lines 2021-09-30 08:08:56 -04:00
x86 efi: Add video support to the app 2021-11-07 18:36:55 +01:00
xtensa WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
.gitignore
Kconfig Prepare v2021.10-rc4 2021-09-16 10:29:40 -04:00
u-boot-elf.lds