On 10:12 Tue 12 May     , Matthias Ludwig wrote:
> replace variable types in ctrl_structs for omap3 by those with
> fixed size (u8, u16, u32).
> Additional ifndef-protection is needed by examples which do not
> compile when including asm/types.h
could explain why and in which case we need it?
> 
> Signed-off-by: Matthias Ludwig <mlud...@ultratronik.de>
> ---
>  include/asm-arm/arch-omap3/cpu.h |  418 
> ++++++++++++++++++++------------------
>  1 files changed, 221 insertions(+), 197 deletions(-)
> 
> diff --git a/include/asm-arm/arch-omap3/cpu.h 
> b/include/asm-arm/arch-omap3/cpu.h
> index 61a833e..b2c8498 100644
> --- a/include/asm-arm/arch-omap3/cpu.h
> +++ b/include/asm-arm/arch-omap3/cpu.h
> @@ -25,34 +25,40 @@
>  #ifndef _CPU_H
>  #define _CPU_H
>  
> +#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
> +#include <asm/types.h>
> +#endif /* !(__KERNEL_STRICT_NAMES || __ASSEMBLY__) */
> +
Best Regards,
J.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to