From a656eeaa1bf5c4b97149c1c3efb97200ac90b438 Mon Sep 17 00:00:00 2001 From: Punnaiah Choudary Kalluri Date: Thu, 10 Jul 2014 10:18:25 +0530 Subject: [PATCH] dmaps: Minor cleanup Removed xil_printf messages that are confusing the regression test results analyzer. Fixed the incorrect header file inclusions. Signed-off-by: Punnaiah Choudary Kalluri Acked-by: Anirudha Sarangi --- XilinxProcessorIPLib/drivers/dmaps/src/xdmaps.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/XilinxProcessorIPLib/drivers/dmaps/src/xdmaps.c b/XilinxProcessorIPLib/drivers/dmaps/src/xdmaps.c index a16e0329..b3a02f24 100755 --- a/XilinxProcessorIPLib/drivers/dmaps/src/xdmaps.c +++ b/XilinxProcessorIPLib/drivers/dmaps/src/xdmaps.c @@ -1350,8 +1350,6 @@ int XDmaPs_GenDmaProg(XDmaPs *InstPtr, unsigned int Channel, XDmaPs_Cmd *Cmd) if (ChanCtrl->SrcBurstSize * ChanCtrl->SrcBurstLen != ChanCtrl->DstBurstSize * ChanCtrl->DstBurstLen) { - xil_printf("source burst_size * burst_len does not match " - "that of destination\r\n"); return XST_FAILURE; } @@ -1360,19 +1358,15 @@ int XDmaPs_GenDmaProg(XDmaPs *InstPtr, unsigned int Channel, XDmaPs_Cmd *Cmd) * unaligned fixed address is not supported */ if (!ChanCtrl->SrcInc && Cmd->BD.SrcAddr % ChanCtrl->SrcBurstSize) { - xil_printf("source address is fixed but is unaligned\r\n"); return XST_FAILURE; } if (!ChanCtrl->DstInc && Cmd->BD.DstAddr % ChanCtrl->DstBurstSize) { - xil_printf("destination address is fixed but is " - "unaligned\r\n"); return XST_FAILURE; } Buf = XDmaPs_BufPool_Allocate(ChanData->ProgBufPool); if (Buf == NULL) { - xil_printf("failed to allocate program buffer\r\n"); return XST_FAILURE; }