summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-04-28 18:30:26 +0800
committerMax Krummenacher <max.krummenacher@toradex.com>2016-03-09 14:42:28 +0100
commitd1ffd784d1f93c8be94804b4bbfb9d51b660f819 (patch)
tree756b57265c77e2335a243d49f8fbfb53122e43a4 /arch
parentfb90c84daa5507316dd52ff2dd393181d360fe50 (diff)
MLK-10774-52 nand: mxs correct MXS_DMA_ALIGNMENT
We should align MXS_DMA_ALIGNMENT with ARCH_DMA_MINALIGN, otherwise we may encounter errors, " NAND: ERROR: v7_dcache_inval_range - start address is not aligned - 0xbdf1d1a0 ERROR: v7_dcache_inval_range - stop address is not aligned - 0xbdf1f4a0 ERROR: v7_dcache_inval_range - start address is not aligned - 0xbdf1d1a0 " Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/imx-common/dma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/imx-common/dma.h b/arch/arm/include/asm/imx-common/dma.h
index d38d2bfe30..c1aced9ea6 100644
--- a/arch/arm/include/asm/imx-common/dma.h
+++ b/arch/arm/include/asm/imx-common/dma.h
@@ -22,7 +22,7 @@
#define DMA_PIO_WORDS CONFIG_ARCH_DMA_PIO_WORDS
#endif
-#define MXS_DMA_ALIGNMENT 32
+#define MXS_DMA_ALIGNMENT ARCH_DMA_MINALIGN
/*
* MXS DMA channels