blob: 244f6f4646b6a01a03f65ee8233696af69985b2b [file] [log] [blame]
Fathi Boudra422bf772019-12-02 11:10:16 +02001#!/bin/bash
2#
3# Copyright (c) 2019, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8post_tf_build() {
9 # Fetch EDK2 and pre-built partition files
10 url="$project_filer/ci-files/spm/FVP_AARCH64_EFI.fd" fetch_file
11 url="$project_filer/ci-files/spm/STANDALONESMM.fd" fetch_file
12
13 archive_file "FVP_AARCH64_EFI.fd"
14 archive_file "STANDALONESMM.fd"
15
16 build_fip BL33="$archive/FVP_AARCH64_EFI.fd" BL32="$archive/STANDALONESMM.fd"
17}
18
19fetch_tf_resource() {
20 # Expect scripts
21 uart="0" file="spm-edk2-uart0.exp" track_expect
22 uart="2" file="spm-edk2-uart2.exp" track_expect
23}