blob: 027e9ce114c999ba662da0a287d46b568fd1c43d [file] [log] [blame]
Fathi Boudra422bf772019-12-02 11:10:16 +02001#!/bin/bash
2#
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}