From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/5] MX28: DMA: Align the struct mxs_dma_desc
Date: Mon, 27 Aug 2012 08:09:01 +0200 [thread overview]
Message-ID: <503B0EFD.6090809@denx.de> (raw)
In-Reply-To: <1345601849-23474-1-git-send-email-marex@denx.de>
On 22/08/2012 04:17, Marek Vasut wrote:
> 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>
> ---
> 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 <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
>
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
=====================================================================
prev parent reply other threads:[~2012-08-27 6:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-22 2:17 [U-Boot] [PATCH 1/5] MX28: DMA: Align the struct mxs_dma_desc Marek Vasut
2012-08-22 2:17 ` [U-Boot] [PATCH 2/5] MX28: DMA: Prolong the DMA timeout Marek Vasut
2012-08-22 15:33 ` Fabio Estevam
2012-08-22 17:42 ` Marek Vasut
2012-08-22 18:53 ` Fabio Estevam
2012-08-22 19:55 ` Marek Vasut
2012-08-22 2:17 ` [U-Boot] [PATCH 3/5] MX28: SPI: Supercharge the SPI driver Marek Vasut
2012-08-22 15:30 ` Mike Frysinger
2012-08-22 17:43 ` Marek Vasut
2012-08-22 21:24 ` Mike Frysinger
2012-08-22 2:17 ` [U-Boot] [PATCH 4/5] MX28: m28evk: Align SSP clock speed Marek Vasut
2012-08-22 2:17 ` [U-Boot] [PATCH 5/5] MX28: m28evk: Enable SPI DMA Marek Vasut
2012-08-27 6:09 ` Stefano Babic [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=503B0EFD.6090809@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox