summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-04-28 18:30:26 +0800
committerPeng Fan <Peng.Fan@freescale.com>2015-04-29 15:10:57 +0800
commitb7f3f9a6100519c784085ea9f6e575162555fb42 (patch)
treeb4d08f0f1832893904ccdb6738657845cf9fa44f /arch/arm
parent03994a01961bd0b87cccbf10d6025f0cd3ee0739 (diff)
downloadu-boot-imx-b7f3f9a6100519c784085ea9f6e575162555fb42.zip
u-boot-imx-b7f3f9a6100519c784085ea9f6e575162555fb42.tar.gz
u-boot-imx-b7f3f9a6100519c784085ea9f6e575162555fb42.tar.bz2
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/arm')
-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 d38d2bf..c1aced9 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