blob: fd0b52993a9b24b577b99c9c8dffab26d64d3b8e [file] [log] [blame]
#!/usr/bin/env bash
#
# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
pre_tftf_build() {
# Build TFTF and Cactus-MM images for this config
targets="tftf cactus_mm" set_tftf_build_targets
}
post_tf_build() {
# Rename cactus_mm.bin as bl32.bin
mv "$archive/cactus_mm.bin" "$archive/bl32.bin"
}
fetch_tf_resource() {
set_run_env "num_uarts" "3"
uart="0" file="tftf.exp" track_expect
uart="1" file="hold_uart.exp" track_expect
uart="2" file="hold_uart.exp" track_expect
payload_type="tftf" gen_fvp_yaml_template
}