diff --git a/lib/sw_apps/zynqmp_fsbl/src/xfsbl_handoff.c b/lib/sw_apps/zynqmp_fsbl/src/xfsbl_handoff.c index c2f7c1ff..2c5dcc71 100644 --- a/lib/sw_apps/zynqmp_fsbl/src/xfsbl_handoff.c +++ b/lib/sw_apps/zynqmp_fsbl/src/xfsbl_handoff.c @@ -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. diff --git a/lib/sw_apps/zynqmp_fsbl/src/xfsbl_partition_load.c b/lib/sw_apps/zynqmp_fsbl/src/xfsbl_partition_load.c index dbcdef94..041ca503 100644 --- a/lib/sw_apps/zynqmp_fsbl/src/xfsbl_partition_load.c +++ b/lib/sw_apps/zynqmp_fsbl/src/xfsbl_partition_load.c @@ -1008,7 +1008,6 @@ static u32 XFsbl_PartitionValidation(XFsblPs * FsblInstancePtr, /** * cache disbale can be removed */ - Xil_DCacheFlush(); Xil_DCacheDisable(); /**