blob: 488e157cb3bb7c4bb5d383310572c8f07299212b [file] [log] [blame]
#!/usr/bin/env bash
#
# Copyright (c) 2019-2022, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
post_tf_build() {
# Fetch EDK2 and pre-built partition files
url="$tfa_downloads/spm/FVP_AARCH64_EFI.fd" fetch_file
url="$tfa_downloads/spm/STANDALONESMM.fd" fetch_file
archive_file "FVP_AARCH64_EFI.fd"
archive_file "STANDALONESMM.fd"
build_fip BL33="$archive/FVP_AARCH64_EFI.fd" BL32="$archive/STANDALONESMM.fd"
}
generate_lava_job_template() {
uart="0" file="spm-edk2-uart0.exp" track_expect
uart="2" file="spm-edk2-uart2.exp" track_expect
payload_type="tftf" gen_fvp_yaml_template
}