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 <appanad@xilinx.com>
Acked by: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
Kedareswara rao Appana 2015-08-19 18:48:20 +05:30 committed by Nava kishore Manne
parent 004d36f379
commit cbf1285e40
2 changed files with 3 additions and 1 deletions

View file

@ -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.
*
* </pre>
*

View file

@ -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 */