blob: 05da538c58b3647d23091788ef49d00f3a1520bf [file] [log] [blame]
#!/bin/bash
#
# Copyright (c) 2019, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
pre_tftf_build() {
# Build TFTF and FWU images for this config
targets="tftf ns_bl1u ns_bl2u" set_tftf_build_targets
}
# Perform FWU steps after all build products have been archived.
post_tf_build() {
fip_targets="fip fwu_fip" build_fip \
BL33="$archive/tftf.bin" \
NS_BL2U="$archive/ns_bl2u.bin"
}
post_tf_archive() {
echo "Backing up FIP..."
cp "$archive/fip.bin" "$archive/backup_fip.bin"
}
fetch_tf_resource() {
uart="0" timeout="900" file="tftf.exp" track_expect
}