sw_apps:zynq_fsbl: Corrected logic to clear DMA done count for PCAP

Corresponding fields in the devcfg.STATUS register are written to,
for clearing DMA done count.

Signed-off-by: Sarat Chand Savitala <saratcha@xilinx.com>
This commit is contained in:
Sarat Chand Savitala 2015-04-13 19:20:02 +05:30 committed by Nava kishore Manne
parent 1e8599957a
commit b2a9c67a13
2 changed files with 8 additions and 1 deletions

View file

@ -223,6 +223,11 @@
* from build 2015.1_1210_1, causing compilation error.
* Resolution: Arguments for f_mount in InitSD() are
* changed as per new signature.
* 13.00a ssc 04/10/15 846899 - FSBL -In the file pcap.c, to clear DMA done
* count, devcfg.INT_STS register is written to, which is
* not correct.
* Resolution: Corresponding fields in the devcfg.STATUS
* register are written to, for clearing DMA done count.
*
* </pre>
*

View file

@ -72,6 +72,8 @@
* 8.00a kc 2/20/14 Fix for CR#775631 - FSBL: FsblGetGlobalTimer()
* is not proper
* 10.00a kc 07/24/14 Fix for CR#809336 - Minor code cleanup
* 13.00a ssc 04/10/15 Fix for CR#846899 - Corrected logic to clear
* DMA done count
* </pre>
*
* @note
@ -566,7 +568,7 @@ u32 ClearPcapStatus(void)
}
if ((StatusReg & XDCFG_STATUS_DMA_DONE_CNT_MASK) != 0) {
XDcfg_IntrClear(DcfgInstPtr, StatusReg &
XDcfg_SetStatusRegister(DcfgInstPtr, StatusReg |
XDCFG_STATUS_DMA_DONE_CNT_MASK);
}