blob: 1b854e80bcfd2f954638d2e017949b033f54872a [file] [log] [blame]
#!/usr/bin/env bash
#
# Copyright (c) 2020, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
post_tf_build() {
path_bypass_rom="$scp_root/build/product/juno/scp_romfw_bypass/$mode/bin"
cp "$path_bypass_rom/scp_romfw_bypass.bin" "$path_bypass_rom/scp_bl1.bin"
archive_file "$path_bypass_rom/scp_bl1.bin"
archive_file "$scp_root/build/product/juno/scp_ramfw/$mode/bin/scp_ramfw.bin"
build_fip BL33="$archive/tftf.bin" SCP_BL2="$archive/scp_ramfw.bin"
}
post_fetch_tf_resource() {
gen_recovery_image "$archive/bl1.bin" "$archive/fip.bin" "$archive/scp_bl1.bin"
payload_type="tftf" gen_juno_yaml
}