mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00

BL2 still uses the STM32 header binary format to be loaded from ROM code. BL32 and BL33 and their respective device tree files are now put together in a FIP file. One DTB is created for each BL. To reduce their sizes, 2 new dtsi file are in charge of removing useless nodes for a given BL. This is done because BL2 and BL32 share the same device tree files base. The previous way of booting is still available, the compilation flag STM32MP_USE_STM32IMAGE has to be set to 1 in the make command. Some files are duplicated and their names modified with _stm32_ to avoid too much switches in the code. Change-Id: I1ffada0af58486d4cf6044511b51e56b52269817 Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
18 lines
349 B
ArmAsm
18 lines
349 B
ArmAsm
/*
|
|
* Copyright (c) 2016-2021, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#if STM32MP_USE_STM32IMAGE
|
|
#ifdef BL32_BIN_PATH
|
|
.section .bl32_image
|
|
.incbin BL32_BIN_PATH
|
|
#endif
|
|
#endif /* STM32MP_USE_STM32IMAGE */
|
|
|
|
.section .bl2_image
|
|
.incbin BL2_BIN_PATH
|
|
|
|
.section .dtb_image
|
|
.incbin DTB_BIN_PATH
|