fix(plat/xilinx/versal): resolve misra R15.7
MISRA Violation: MISRA-C:2012 R.15.7 - All if . . else if constructs shall be terminated with an else statement Signed-off-by: Abhyuday Godhasara <abhyuday.godhasara@xilinx.com> Change-Id: Iea32e32b5683f7accd7fac8d557957f05ed0f5c5
This commit is contained in:
parent
b9fa2d9fc1
commit
bc2637e379
|
@ -83,7 +83,10 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
||||||
if (rc == 0) {
|
if (rc == 0) {
|
||||||
panic();
|
panic();
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
NOTICE("BL31: Did not register for any console.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Initialize the platform config for future decision making */
|
/* Initialize the platform config for future decision making */
|
||||||
versal_config_setup();
|
versal_config_setup();
|
||||||
/* There are no parameters from BL2 if BL31 is a reset vector */
|
/* There are no parameters from BL2 if BL31 is a reset vector */
|
||||||
|
@ -111,6 +114,8 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
||||||
bl31_set_default_config();
|
bl31_set_default_config();
|
||||||
} else if (ret != FSBL_HANDOFF_SUCCESS) {
|
} else if (ret != FSBL_HANDOFF_SUCCESS) {
|
||||||
panic();
|
panic();
|
||||||
|
} else {
|
||||||
|
ERROR("BL31: Error during fsbl-atf handover %d.\n", ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
NOTICE("BL31: Secure code at 0x%lx\n", bl32_image_ep_info.pc);
|
NOTICE("BL31: Secure code at 0x%lx\n", bl32_image_ep_info.pc);
|
||||||
|
|
Loading…
Reference in New Issue