fix(versal): fix the incorrect log message
When the atf-handoff-params are updated we are returning FSBL_HANDOFF_SUCCESS, but the return condition is wrongly updated and added a error log which is incorrect. Fixing the incorrect log message. Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Change-Id: I44ebbb861831b86afcb87f09ddb2e23614393c28
This commit is contained in:
parent
cf86fa1bfa
commit
ea04b3fe18
|
@ -112,10 +112,12 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
||||||
atf_handoff_addr);
|
atf_handoff_addr);
|
||||||
if (ret == FSBL_HANDOFF_NO_STRUCT || ret == FSBL_HANDOFF_INVAL_STRUCT) {
|
if (ret == FSBL_HANDOFF_NO_STRUCT || ret == FSBL_HANDOFF_INVAL_STRUCT) {
|
||||||
bl31_set_default_config();
|
bl31_set_default_config();
|
||||||
|
} else if (ret == FSBL_HANDOFF_TOO_MANY_PARTS) {
|
||||||
|
ERROR("BL31: Error too many partitions %u\n", ret);
|
||||||
} else if (ret != FSBL_HANDOFF_SUCCESS) {
|
} else if (ret != FSBL_HANDOFF_SUCCESS) {
|
||||||
panic();
|
panic();
|
||||||
} else {
|
} else {
|
||||||
ERROR("BL31: Error during fsbl-atf handover %d.\n", ret);
|
INFO("BL31: fsbl-atf handover success %u\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