sw_apps:zynqmp_fsbl: Removed redundant calls to Xil_DCacheFlush()

Xil_DCacheDisable() function internally has call to Xil_DCacheFlush().
Hence removing redundant calls to Xil_DCacheFlush from FSBL.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
This commit is contained in:
Sarat Chand Savitala 2015-06-09 19:12:18 +05:30 committed by Nava kishore Manne
parent 4766bcb9f6
commit fd800dfb46
2 changed files with 2 additions and 18 deletions

View file

@ -462,12 +462,7 @@ void XFsbl_HandoffExit(u64 HandoffAddress, u32 Flags)
{
/**
* Flush the L1 data cache and L2 cache
*/
Xil_DCacheFlush();
/**
* Disable Data Cache
* Flush the L1 data cache and L2 cache, Disable Data Cache
*/
Xil_DCacheDisable();
@ -677,12 +672,7 @@ u32 XFsbl_Handoff (XFsblPs * FsblInstancePtr)
if (XFSBL_PLATFORM == XFSBL_PLATFORM_VELOCE)
{
/**
* Flush the L1 data cache and L2 cache
*/
Xil_DCacheFlush();
/**
* Disable Data Cache
* Flush the L1 data cache and L2 cache, Disable Data Cache
*/
Xil_DCacheDisable();
XFsbl_Printf(DEBUG_GENERAL,"VeloceExit from FSBL \n\r");
@ -740,11 +730,6 @@ u32 XFsbl_Handoff (XFsblPs * FsblInstancePtr)
}
/**
* Flush the L1 data cache and L2 cache
*/
Xil_DCacheFlush();
/**
* Disable Data Cache to have smooth data
* transfer between the processors.

View file

@ -1008,7 +1008,6 @@ static u32 XFsbl_PartitionValidation(XFsblPs * FsblInstancePtr,
/**
* cache disbale can be removed
*/
Xil_DCacheFlush();
Xil_DCacheDisable();
/**