blob: af0974a7be02c08aac27c9245d49521119261cf5 [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_archive() {
9 # A combined BL1 and ROMLIB binary with the right alignment is
10 # needed for Juno when library at ROM is enabled (USE_ROMLIB=1)
11 # The combined binary bl1_romlib.bin has to be used instead of BL1
12 echo "Copying bl1_romlib.bin to bl1.bin."
13 mv "$archive/bl1_romlib.bin" "$archive/bl1.bin"
14}