diff options
author | Marek Vasut <marex@denx.de> | 2012-08-21 16:17:25 +0000 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-09-01 14:58:29 +0200 |
commit | 615a4ad0f65cc6b4a70abf45b30c6e41b1485eea (patch) | |
tree | a1458c4e88500889f67283f48d9cdc400641e9f1 /arch/arm | |
parent | acbdea2ece9b2727c5d4424fb1d0d7b6684c50e6 (diff) | |
download | u-boot-imx-615a4ad0f65cc6b4a70abf45b30c6e41b1485eea.zip u-boot-imx-615a4ad0f65cc6b4a70abf45b30c6e41b1485eea.tar.gz u-boot-imx-615a4ad0f65cc6b4a70abf45b30c6e41b1485eea.tar.bz2 |
MX28: DMA: Align the struct mxs_dma_desc
Align this structure to DMA alignment size.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/include/asm/arch-mxs/dma.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-mxs/dma.h b/arch/arm/include/asm/arch-mxs/dma.h index 4a1820b..a0a0ea5 100644 --- a/arch/arm/include/asm/arch-mxs/dma.h +++ b/arch/arm/include/asm/arch-mxs/dma.h @@ -27,6 +27,7 @@ #define __DMA_H__ #include <linux/list.h> +#include <linux/compiler.h> #ifndef CONFIG_ARCH_DMA_PIO_WORDS #define DMA_PIO_WORDS 15 @@ -109,7 +110,7 @@ struct mxs_dma_desc { dma_addr_t address; void *buffer; struct list_head node; -}; +} __aligned(MXS_DMA_ALIGNMENT); /** * MXS DMA channel |