Leonardo Sandoval | 9dfdd1b | 2020-08-06 17:08:11 -0500 | [diff] [blame] | 1 | #!/usr/bin/env bash |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 2 | # |
Leonardo Sandoval | 579c737 | 2020-10-23 15:23:32 -0500 | [diff] [blame] | 3 | # Copyright (c) 2019-2020 Arm Limited. All rights reserved. |
Fathi Boudra | 422bf77 | 2019-12-02 11:10:16 +0200 | [diff] [blame] | 4 | # |
| 5 | # SPDX-License-Identifier: BSD-3-Clause |
| 6 | # |
| 7 | |
| 8 | post_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 | } |