Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame^] | 1 | #!/bin/bash |
| 2 | # |
| 3 | # Copyright (c) 2019, Arm Limited. All rights reserved. |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | post_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 | |
| 19 | fetch_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 | } |