Leonardo Sandoval | 9dfdd1b | 2020-08-06 17:08:11 -0500 | [diff] [blame^] | 1 | #!/usr/bin/env bash |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 2 | # |
| 3 | # Copyright (c) 2019, Arm Limited. All rights reserved. |
| 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | pre_tf_build() { |
| 9 | # Apply fault injection patches |
| 10 | apply_tf_patch "fault_inject/injected-fault-record-and-handler.patch" |
| 11 | apply_tf_patch "fault_inject/explicit-events.patch" |
| 12 | apply_tf_patch "fault_inject/fvp-fault-handlers.patch" |
| 13 | } |
| 14 | |
| 15 | post_tf_archive() { |
| 16 | model="base-aemv8a" fault_inject="1" arch_version="8.4" \ |
| 17 | gen_model_params |
| 18 | } |