public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 05/10] mxs: Fix iomux.h to not break build during assembly stage
Date: Wed, 13 Feb 2013 22:13:42 +0100	[thread overview]
Message-ID: <201302132213.42512.marex@denx.de> (raw)
In-Reply-To: <1360589756-26355-6-git-send-email-otavio@ossystems.com.br>

Dear Otavio Salvador,

> This fixes the build failure when included in mx23_olinuxino.h board
> config; the addition of "asm/types.h" is due "u32" being otherwise
> undefined.

Regular <types.h> doesn't cut it?

> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
> Changes in v2: None
> 
>  arch/arm/include/asm/arch-mxs/iomux.h | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/include/asm/arch-mxs/iomux.h
> b/arch/arm/include/asm/arch-mxs/iomux.h index 7abdf58..4288715 100644
> --- a/arch/arm/include/asm/arch-mxs/iomux.h
> +++ b/arch/arm/include/asm/arch-mxs/iomux.h
> @@ -21,6 +21,10 @@
>  #ifndef __MACH_MXS_IOMUX_H__
>  #define __MACH_MXS_IOMUX_H__
> 
> +#ifndef __ASSEMBLY__
> +
> +#include <asm/types.h>
> +
>  /*
>   * IOMUX/PAD Bit field definitions
>   *
> @@ -165,4 +169,5 @@ int mxs_iomux_setup_pad(iomux_cfg_t pad);
>   */
>  int mxs_iomux_setup_multiple_pads(const iomux_cfg_t *pad_list, unsigned
> count);
> 
> +#endif /* __ASSEMBLY__ */
>  #endif /* __MACH_MXS_IOMUX_H__*/

Best regards,
Marek Vasut

  reply	other threads:[~2013-02-13 21:13 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-11 13:35 [U-Boot] [PATCH v2 0/10] mx23/mxs pending patches Otavio Salvador
2013-02-11 13:35 ` [U-Boot] [PATCH v2 01/10] mxs: Rename CONFIG_SPL_MX28_PSWITCH_WAIT to CONFIG_SPL_MXS_PSWITCH_WAIT Otavio Salvador
2013-02-11 13:35 ` [U-Boot] [PATCH v2 02/10] mx23: Document the tRAS lockout setting in memory initialization Otavio Salvador
2013-02-13 21:12   ` Marek Vasut
2013-02-13 21:20     ` Otavio Salvador
2013-02-13 21:31       ` Fabio Estevam
2013-02-13 21:36         ` Otavio Salvador
2013-02-13 21:39           ` Fabio Estevam
2013-02-13 21:42             ` Otavio Salvador
2013-02-11 13:35 ` [U-Boot] [PATCH v2 03/10] mx23evk: Adjust DRAM control register to use full 128MB of RAM Otavio Salvador
2013-02-13 21:13   ` Marek Vasut
2013-02-13 21:21     ` Otavio Salvador
2013-02-13 21:33       ` Marek Vasut
2013-02-13 21:38         ` Otavio Salvador
2013-02-14 16:43           ` Marek Vasut
2013-02-11 13:35 ` [U-Boot] [PATCH v2 04/10] led: Use STATUS_LED_ON and STATUS_LED_OFF when calling __led_set Otavio Salvador
2013-02-11 13:35 ` [U-Boot] [PATCH v2 05/10] mxs: Fix iomux.h to not break build during assembly stage Otavio Salvador
2013-02-13 21:13   ` Marek Vasut [this message]
2013-02-13 21:22     ` Otavio Salvador
2013-02-13 21:34       ` Marek Vasut
2013-02-11 13:35 ` [U-Boot] [PATCH v2 06/10] mx23_olinuxino: Add support for status LED Otavio Salvador
2013-02-11 13:35 ` [U-Boot] [PATCH v2 07/10] usb: mxs: Disable USB Port 1 for i.MX23 Otavio Salvador
2013-02-13 21:15   ` Marek Vasut
2013-02-13 21:24     ` Otavio Salvador
2013-02-13 21:36       ` Marek Vasut
2013-02-16 21:59         ` Otavio Salvador
2013-02-11 13:35 ` [U-Boot] [PATCH v2 08/10] mx23evk: Enable USB support Otavio Salvador
2013-02-11 13:35 ` [U-Boot] [PATCH v2 09/10] mx23_olinuxino: " Otavio Salvador
2013-02-11 13:35 ` [U-Boot] [PATCH v2 10/10] mx23_olinuxino: Add ethernet support Otavio Salvador
2013-02-13 21:19   ` Marek Vasut
2013-02-13 21:25     ` Otavio Salvador
2013-02-13 21:36       ` Marek Vasut
2013-02-13 21:40         ` Otavio Salvador
2013-02-14 16:44           ` Marek Vasut
2013-02-14 18:24             ` Otavio Salvador

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=201302132213.42512.marex@denx.de \
    --to=marex@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