mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-13 03:15:06 +00:00
Tegra: return BL32 entry point info if it is valid
This patch returns pointer to the BL32 entrypoint info only if it is valid. Change-Id: I71ce3c4626681753c94f3a7bbaa50c26c74874cb Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
This commit is contained in:
@@ -100,7 +100,8 @@ entry_point_info_t *bl31_plat_get_next_image_ep_info(uint32_t type)
|
||||
if (type == NON_SECURE)
|
||||
return &bl33_image_ep_info;
|
||||
|
||||
if (type == SECURE)
|
||||
/* return BL32 entry point info if it is valid */
|
||||
if (type == SECURE && bl32_image_ep_info.pc)
|
||||
return &bl32_image_ep_info;
|
||||
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user