From da0acf43dcc598df9f30651f9a14b3ffcfd7eacb Mon Sep 17 00:00:00 2001 From: VNSL Durga Date: Mon, 30 Mar 2015 11:23:54 +0530 Subject: [PATCH] ZDMA: Modified example of ZDMA Size of data transfer is modified from 1GB to 1MB Signed-off-by: VNSL Durga --- .../drivers/zdma/examples/xzdma_simple_example.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/XilinxProcessorIPLib/drivers/zdma/examples/xzdma_simple_example.c b/XilinxProcessorIPLib/drivers/zdma/examples/xzdma_simple_example.c index 92d3c0ca..44b1a8a9 100644 --- a/XilinxProcessorIPLib/drivers/zdma/examples/xzdma_simple_example.c +++ b/XilinxProcessorIPLib/drivers/zdma/examples/xzdma_simple_example.c @@ -35,7 +35,7 @@ * @file xzdma_simple_example.c * * This file contains the example using XZDma driver to do simple data transfer -* in Normal mode on ZDMA device for 1GB data transfer. +* in Normal mode on ZDMA device for 1MB data transfer. * *
 * MODIFICATION HISTORY:
@@ -73,7 +73,7 @@ static void DoneHandler(void *CallBackRef);
 					/**< SCUGIC Device ID */
 #define ZDMA_INTR_DEVICE_ID	XPAR_XADMAPS_0_INTR	/**< ZDMA Interrupt Id */
 
-#define SIZE		1000000000 /**< Size of the data to be transferred */
+#define SIZE		1000000 /**< Size of the data to be transferred */
 #define TESTVALUE	0x1230 /**< For writing into source buffer */
 
 /**************************** Type Definitions *******************************/