plat:xilinx:versal: Use defaults when PDI is without sw partitions
In JTAG mode check the ATF handoff structure, if the magic string is not present then use bl32 and bl33 default values. Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com> Signed-off-by: Rajan Vaja <rajan.vaja@xilinx.com> Change-Id: I1f2c4a2060d8a2e70d3b5fb2473124b685f257fc
This commit is contained in:
parent
addc4e969b
commit
abf27efac6
|
@ -97,7 +97,7 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
|||
enum fsbl_handoff ret = fsbl_atf_handover(&bl32_image_ep_info,
|
||||
&bl33_image_ep_info,
|
||||
atf_handoff_addr);
|
||||
if (ret == FSBL_HANDOFF_NO_STRUCT) {
|
||||
if (ret == FSBL_HANDOFF_NO_STRUCT || ret == FSBL_HANDOFF_INVAL_STRUCT) {
|
||||
bl31_set_default_config();
|
||||
} else if (ret != FSBL_HANDOFF_SUCCESS) {
|
||||
panic();
|
||||
|
|
Loading…
Reference in New Issue