axicdma: Fix compilation error due to wrong define

This patch fixes the wrong ifdef in the example.

Signed-off-by: Kedareswara rao Appana <appanad@xilinx.com>
Reviewed-by:  Naga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
This commit is contained in:
Kedareswara rao Appana 2015-08-21 17:01:15 +05:30 committed by Nava kishore Manne
parent f2fc9f0ca9
commit fed11b878a

View file

@ -79,7 +79,7 @@
#include "xscugic.h"
#endif
#ifdef __MICROBLAZE__
#ifndef __MICROBLAZE__
#include "xpseudo_asm_gcc.h"
#endif
@ -364,7 +364,7 @@ static int DoSimpleTransfer(XAxiCdma *InstancePtr, int Length, int Retries)
* Data Cache is enabled
*/
#ifndef __aarch64__
Xil_DCacheInvalidateRange((UINTPTR)&DestBuffer,, Length);
Xil_DCacheInvalidateRange((UINTPTR)&DestBuffer, Length);
#endif
/* Transfer completes successfully, check data