From cbf1285e40141a1039f80ddea42d712e09f50068 Mon Sep 17 00:00:00 2001 From: Kedareswara rao Appana Date: Wed, 19 Aug 2015 18:48:20 +0530 Subject: [PATCH] axidma: Fix bug in the number of words in a buffer descriptor With the 64-bit support a new filed got added to the buffer descriptor the number of words in a buffer desctipor should be changed accordingly. This patch updates the same. Signed-off-by: Kedareswara rao Appana Acked by: Anirudha Sarangi --- XilinxProcessorIPLib/drivers/axidma/src/xaxidma.h | 2 ++ XilinxProcessorIPLib/drivers/axidma/src/xaxidma_hw.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/XilinxProcessorIPLib/drivers/axidma/src/xaxidma.h b/XilinxProcessorIPLib/drivers/axidma/src/xaxidma.h index 6173ea13..86f62dd6 100644 --- a/XilinxProcessorIPLib/drivers/axidma/src/xaxidma.h +++ b/XilinxProcessorIPLib/drivers/axidma/src/xaxidma.h @@ -452,6 +452,8 @@ * 8.1 adk 29/01/15 Added the sefltest api (XAxiDma_Selftest) to the driver source files * (xaxidma_selftest.c) and called this from the selftest example * 9.0 adk 27/07/15 Added support for 64-bit Addressing. +* 9.0 adk 19/08/15 Fixed CR#873125 DMA SG Mode example tests are failing on +* HW in 2015.3. * * * diff --git a/XilinxProcessorIPLib/drivers/axidma/src/xaxidma_hw.h b/XilinxProcessorIPLib/drivers/axidma/src/xaxidma_hw.h index 8b1b0d63..cc467a83 100644 --- a/XilinxProcessorIPLib/drivers/axidma/src/xaxidma_hw.h +++ b/XilinxProcessorIPLib/drivers/axidma/src/xaxidma_hw.h @@ -236,7 +236,7 @@ extern "C" { #define XAXIDMA_BD_BYTES_TO_CLEAR 48 /**< BD specific bytes to be * cleared */ -#define XAXIDMA_BD_NUM_WORDS 16U /**< Total number of words for +#define XAXIDMA_BD_NUM_WORDS 20U /**< Total number of words for * one BD*/ #define XAXIDMA_BD_HW_NUM_BYTES 52 /**< Number of bytes hw used */