From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Mon, 27 Aug 2012 08:09:01 +0200 Subject: [U-Boot] [PATCH 1/5] MX28: DMA: Align the struct mxs_dma_desc In-Reply-To: <1345601849-23474-1-git-send-email-marex@denx.de> References: <1345601849-23474-1-git-send-email-marex@denx.de> Message-ID: <503B0EFD.6090809@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 22/08/2012 04:17, Marek Vasut wrote: > Align this structure to DMA alignment size. > > Signed-off-by: Marek Vasut > Cc: Fabio Estevam > Cc: Otavio Salvador > Cc: Stefano Babic > --- > arch/arm/include/asm/arch-mxs/dma.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > 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 > +#include > > #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 > Applied (whole series) to u-boot-imx, thanks. Best regards, Stefano Babic -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================