blob: 6fd4c8c367ed938ed1d02b483726fa8d3dc87e01 [file] [log] [blame]
#!/usr/bin/env bash
#
# Copyright (c) 2019-2020 Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
post_tf_archive() {
# A combined BL1 and ROMLIB binary with the right alignment is
# needed for Juno when library at ROM is enabled (USE_ROMLIB=1)
# The combined binary bl1_romlib.bin has to be used instead of BL1
echo "Copying bl1_romlib.bin to bl1.bin."
mv "$archive/bl1_romlib.bin" "$archive/bl1.bin"
}