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:
parent
f2fc9f0ca9
commit
fed11b878a
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue