blob: a920668b6eb1ec11ede54f02441bfd1c159637b8 [file] [log] [blame]
#!/usr/bin/env bash
#
# Copyright (c) 2023, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
post_tf_build() {
build_fip BL33="$archive/tftf.bin"
}
post_tf_archive() {
gen_gpt_bin "$archive/fip.bin"
# Corrupt primary GPT header to force TF-A to use the backup one
corrupt_gpt_bin "$archive/fip_gpt.bin"
}
generate_lava_job_template() {
uart="0" file="backup_gpt.exp" track_expect
uart="1" file="hold_uart.exp" track_expect
payload_type="tftf" gen_yaml_template
}