blob: eee82018ca74f042f4acd4db4caecbb3e79ba44b [file] [log] [blame]
#!/usr/bin/env bash
#
# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
pre_tf_build() {
# Apply fault injection patches
apply_tf_patch "fault_inject/injected-fault-record-and-handler.patch"
apply_tf_patch "fault_inject/explicit-events.patch"
apply_tf_patch "fault_inject/fvp-fault-handlers.patch"
}
post_tf_archive() {
local model="base-aemv8a"
model="$model" fault_inject="1" arch_version="8.4" \
gen_model_params
model="$model" gen_fvp_yaml
}