blob: ac49bd6ab8928d101ed4a9b6a36807cca02a902a [file] [log] [blame]
Leonardo Sandoval9dfdd1b2020-08-06 17:08:11 -05001#!/usr/bin/env bash
Fathi Boudra422bf772019-12-02 11:10:16 +02002#
Leonardo Sandoval579c7372020-10-23 15:23:32 -05003# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
Fathi Boudra422bf772019-12-02 11:10:16 +02004#
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}