sw_apps:zynqmp_fsbl: Disable early handoff by default

Currently R5 applications are handedoff immediately after they are loaded.
This feature is configurable in FSBL and now with this change, early handoff
is disabled by default. User can enable this feature again by defining
FSBL_EARLY_HANDOFF_EXCLUDE_VAL as 1.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
Acked-by: Krishna Chaitanya Patakamuri <kpataka@xilinx.com>
This commit is contained in:
Sarat Chand Savitala 2015-08-24 15:24:23 +05:30 committed by Nava kishore Manne
parent bcdb65d21b
commit ceb7c06ab2
2 changed files with 3 additions and 3 deletions

View file

@ -132,7 +132,7 @@ extern "C" {
#define FSBL_AES_EXCLUDE_VAL (0U)
#define FSBL_BS_EXCLUDE_VAL (0U)
#define FSBL_SHA2_EXCLUDE_VAL (1U)
#define FSBL_EARLY_HANDOFF_EXCLUDE_VAL (0U)
#define FSBL_EARLY_HANDOFF_EXCLUDE_VAL (1U)
#define FSBL_WDT_EXCLUDE_VAL (0U)
#if FSBL_NAND_EXCLUDE_VAL

View file

@ -1102,14 +1102,14 @@ END:
u32 XFsbl_CheckEarlyHandoffCpu(u32 CpuId)
{
u32 CpuNeedEarlyHandoff = FALSE;
#if defined(XFSBL_EARLY_HANDOFF)
if ((CpuId == XIH_PH_ATTRB_DEST_CPU_R5_0) ||
(CpuId == XIH_PH_ATTRB_DEST_CPU_R5_1) ||
(CpuId == XIH_PH_ATTRB_DEST_CPU_R5_L))
{
CpuNeedEarlyHandoff = TRUE;
}
#endif
return CpuNeedEarlyHandoff;
}