fix(plat/xilinx/versal): resolve misra R10.6
MISRA Violation: MISRA-C:2012 R.10.6 - The value of a composite expression shall not be assigned to an object with wider essential type Signed-off-by: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> Change-Id: Ia0d13c3cfeb13d22b6fc7e8869cc713218302973
This commit is contained in:
parent
a62c40d427
commit
93d4625627
|
@ -46,11 +46,11 @@ entry_point_info_t *bl31_plat_get_next_image_ep_info(uint32_t type)
|
|||
*/
|
||||
static inline void bl31_set_default_config(void)
|
||||
{
|
||||
bl32_image_ep_info.pc = BL32_BASE;
|
||||
bl32_image_ep_info.spsr = arm_get_spsr_for_bl32_entry();
|
||||
bl33_image_ep_info.pc = plat_get_ns_image_entrypoint();
|
||||
bl33_image_ep_info.spsr = SPSR_64(MODE_EL2, MODE_SP_ELX,
|
||||
DISABLE_ALL_EXCEPTIONS);
|
||||
bl32_image_ep_info.pc = (uintptr_t)BL32_BASE;
|
||||
bl32_image_ep_info.spsr = (uint32_t)arm_get_spsr_for_bl32_entry();
|
||||
bl33_image_ep_info.pc = (uintptr_t)plat_get_ns_image_entrypoint();
|
||||
bl33_image_ep_info.spsr = (uint32_t)SPSR_64(MODE_EL2, MODE_SP_ELX,
|
||||
DISABLE_ALL_EXCEPTIONS);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue