Commit 490d81d2 authored by Venkatesh Yadav Abbarapu's avatar Venkatesh Yadav Abbarapu Committed by Rajan Vaja
Browse files

plat: xilinx: zynqmp: Enable log messages for debug



Save some space by enabling the log messages like bl33 address
only for debug builds. Also check the bl33 and bl32 address and
print only if this is not NULL.
Signed-off-by: default avatarVenkatesh Yadav Abbarapu <venkatesh.abbarapu@xilinx.com>
Signed-off-by: default avatarRajan Vaja <rajan.vaja@xilinx.com>
Change-Id: I58d846bf69a75e839eb49abcbb9920af13296886
parent a7379a2a
...@@ -104,9 +104,12 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1, ...@@ -104,9 +104,12 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
else if (ret != FSBL_HANDOFF_SUCCESS) else if (ret != FSBL_HANDOFF_SUCCESS)
panic(); panic();
} }
if (bl32_image_ep_info.pc) {
NOTICE("BL31: Secure code at 0x%lx\n", bl32_image_ep_info.pc); VERBOSE("BL31: Secure code at 0x%lx\n", bl32_image_ep_info.pc);
NOTICE("BL31: Non secure code at 0x%lx\n", bl33_image_ep_info.pc); }
if (bl33_image_ep_info.pc) {
VERBOSE("BL31: Non secure code at 0x%lx\n", bl33_image_ep_info.pc);
}
} }
/* Enable the test setup */ /* Enable the test setup */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment