fix(arm): correct the SPMC_AT_EL3 condition

Addressed the SPMC_AT_EL3 condition by using '#if' instead of
'#if defined'. This change is warranted because the SPMC_AT_EL3
option is always defined.

Change-Id: I76d9b8d502f452c58bc0040745d642cbe11dc8eb
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
This commit is contained in:
Manish V Badarkhe 2023-11-08 09:30:18 +00:00
parent dde37f2d76
commit a0ef1c0ef0

View file

@ -198,7 +198,7 @@ void __init arm_bl31_early_platform_setup(void *from_bl2, uintptr_t soc_fw_confi
while (bl_params != NULL) { while (bl_params != NULL) {
if (bl_params->image_id == BL32_IMAGE_ID) { if (bl_params->image_id == BL32_IMAGE_ID) {
bl32_image_ep_info = *bl_params->ep_info; bl32_image_ep_info = *bl_params->ep_info;
#if defined(SPMC_AT_EL3) #if SPMC_AT_EL3
/* /*
* Populate the BL32 image base, size and max limit in * Populate the BL32 image base, size and max limit in
* the entry point information, since there is no * the entry point information, since there is no