mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
spl: atf: pass NULL for bl32_ep pc
ATF use bl32_ep_info->pc to decide if thre is an available bl32, let's mark it as NULL first. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
451dcf5cd0
commit
0289e291a5
1 changed files with 2 additions and 1 deletions
|
@ -50,13 +50,14 @@ static struct bl31_params *bl2_plat_get_bl31_params(uintptr_t bl33_entry)
|
|||
ATF_PARAM_IMAGE_BINARY, ATF_VERSION_1, 0);
|
||||
|
||||
/* Fill BL32 related information if it exists */
|
||||
#ifdef BL32_BASE
|
||||
bl2_to_bl31_params->bl32_ep_info = &bl31_params_mem.bl32_ep_info;
|
||||
SET_PARAM_HEAD(bl2_to_bl31_params->bl32_ep_info, ATF_PARAM_EP,
|
||||
ATF_VERSION_1, 0);
|
||||
bl2_to_bl31_params->bl32_image_info = &bl31_params_mem.bl32_image_info;
|
||||
SET_PARAM_HEAD(bl2_to_bl31_params->bl32_image_info,
|
||||
ATF_PARAM_IMAGE_BINARY, ATF_VERSION_1, 0);
|
||||
#ifndef BL32_BASE
|
||||
bl2_to_bl31_params->bl32_ep_info->pc = 0;
|
||||
#endif /* BL32_BASE */
|
||||
|
||||
/* Fill BL33 related information */
|
||||
|
|
Loading…
Add table
Reference in a new issue