blob: a920668b6eb1ec11ede54f02441bfd1c159637b8 [file] [log] [blame]
Govindraj Raja67501732023-09-22 16:27:06 -05001#!/usr/bin/env bash
2#
3# Copyright (c) 2023, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8post_tf_build() {
9 build_fip BL33="$archive/tftf.bin"
10}
11
12post_tf_archive() {
13 gen_gpt_bin "$archive/fip.bin"
14
15 # Corrupt primary GPT header to force TF-A to use the backup one
16 corrupt_gpt_bin "$archive/fip_gpt.bin"
17}
18
19generate_lava_job_template() {
20 uart="0" file="backup_gpt.exp" track_expect
21 uart="1" file="hold_uart.exp" track_expect
22
23 payload_type="tftf" gen_yaml_template
24}