sw_apps:zynqmp_fsbl: Updated watchdog code for JTAG bootmode

As in JTAG bootmode, watchdog is not initialized, avoided stopping of
watchdog in JTAG bootmode.

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-03 12:29:13 +05:30 committed by Nava kishore Manne
parent ad401f70a5
commit 4968e7c610
2 changed files with 5 additions and 9 deletions

View file

@ -538,10 +538,6 @@ END:
void XFsbl_HandoffExit(u64 HandoffAddress, u32 Flags)
{
#ifdef XFSBL_WDT_PRESENT
/* Stop WDT as we are exiting FSBL */
XFsbl_StopWdt();
#endif
/**
* Flush the L1 data cache and L2 cache, Disable Data Cache
@ -952,6 +948,11 @@ u32 XFsbl_Handoff (XFsblPs * FsblInstancePtr, u32 PartitionNum, u32 EarlyHandoff
*/
XFsbl_Out32(XFSBL_ERROR_STATUS_REGISTER_OFFSET, XFSBL_COMPLETED);
#ifdef XFSBL_WDT_PRESENT
/* Stop WDT as we are exiting FSBL */
XFsbl_StopWdt();
#endif
/**
* call to the handoff routine
* which will never return

View file

@ -457,11 +457,6 @@ static u32 XFsbl_PrimaryBootDeviceInit(XFsblPs * FsblInstancePtr)
{
XFsbl_Printf(DEBUG_GENERAL,"In JTAG Boot Mode \n\r");
Status = XFSBL_STATUS_JTAG;
#ifdef XFSBL_WDT_PRESENT
/* Stop WDT as we are in JTAG boot mode */
XFsbl_StopWdt();
#endif
}
break;