scripts: build-qemu: Support Tianocore on ARM

When ARM is selected, use the ARM Tianocore image.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-08-08 15:49:22 -06:00
parent 4470f4f729
commit 654bf17503

View File

@@ -112,7 +112,10 @@ class BuildQemu:
bios_override = None
if args.use_tianocore:
bios_override = Path(self.tiano, 'OVMF-pure-efi.x64.fd')
if args.arch == 'arm':
bios_override = Path(self.tiano, 'OVMF-pure-efi.aarch64.fd.64m')
else:
bios_override = Path(self.tiano, 'OVMF-pure-efi.x64.fd')
if not bios_override.exists():
tout.fatal(
'Error: Tianocore BIOS specified (-E) but not found at '