diff options
author | Yann Gautier <yann.gautier@st.com> | 2022-11-14 14:14:48 +0100 |
---|---|---|
committer | Yann Gautier <yann.gautier@st.com> | 2022-11-14 14:14:48 +0100 |
commit | 981b9dcb878c868983388cd86c133f663eab1af4 (patch) | |
tree | bf8eea6827453d5f47807c31efd262b46d9f33d2 /plat/st/stm32mp1/plat_image_load.c | |
parent | c3170fd80b722cbd48a340a0a17f740b7676616c (diff) | |
download | arm-trusted-firmware-981b9dcb878c868983388cd86c133f663eab1af4.tar.gz |
refactor(stm32mp1): remove STM32MP_USE_STM32IMAGE
The code managing legacy boot (without FIP) that was under
STM32MP_USE_STM32IMAGE flag is remove.
Change-Id: I04452453ed84567b0de39e900594a81526562259
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'plat/st/stm32mp1/plat_image_load.c')
-rw-r--r-- | plat/st/stm32mp1/plat_image_load.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/plat/st/stm32mp1/plat_image_load.c b/plat/st/stm32mp1/plat_image_load.c index f68eb3869..c4048fc08 100644 --- a/plat/st/stm32mp1/plat_image_load.c +++ b/plat/st/stm32mp1/plat_image_load.c @@ -4,12 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ -#include <assert.h> - #include <common/desc_image_load.h> -#include <plat/common/platform.h> - -#include <platform_def.h> /******************************************************************************* * This function flushes the data structures so that they are visible @@ -25,17 +20,6 @@ void plat_flush_next_bl_params(void) ******************************************************************************/ bl_load_info_t *plat_get_bl_image_load_info(void) { -#if STM32MP_USE_STM32IMAGE - bl_mem_params_node_t *bl33 = get_bl_mem_params_node(BL33_IMAGE_ID); - uint32_t ddr_ns_size = stm32mp_get_ddr_ns_size(); - - assert(bl33 != NULL); - - /* Max size is non-secure DDR end address minus image_base */ - bl33->image_info.image_max_size = STM32MP_DDR_BASE + ddr_ns_size - - bl33->image_info.image_base; -#endif /* STM32MP_USE_STM32IMAGE */ - return get_bl_load_info_from_mem_params_desc(); } |