blob: 34bc63b026db84f3d82cf5ea43abb8ed26a2cc6c [file] [log] [blame]
Leonardo Sandoval9dfdd1b2020-08-06 17:08:11 -05001#!/usr/bin/env bash
Fathi Boudra422bf772019-12-02 11:10:16 +02002#
3# Copyright (c) 2019, Arm Limited. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8post_tf_build() {
9 get_uboot_bin
10}
11
12post_fetch_tf_resource() {
13 image="$(mktempfile)"
14 printf '\1\0\0\0' > "$image"
15
16 preload_bl33="1" \
17 preload_bl33_bin="uboot.bin" \
18 reset_to_bl31="1" \
19 cache_state_modelled="0" \
20 memprotect="$image" \
21 memprotect_addr="0xBFC0000" \
22 model="base-aemv8a" gen_model_params
23}