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
Re: [U-Boot] [PATCHv2 4/4] omap3: use only fixed-size types inside ctrl_structs
Jean-Christophe PLAGNIOL-VILLARD Tue, 12 May 2009 16:12:16 -0700
- [U-Boot] [PATCH 1/4] omap3: embedd gpmc_c... Matthias Ludwig
- [U-Boot] [PATCH 2/4] omap3: remove t... Matthias Ludwig
- [U-Boot] [PATCH 3/4] omap3: repl... Matthias Ludwig
- [U-Boot] [PATCH 4/4] omap3: ... Matthias Ludwig
- Re: [U-Boot] [PATCH 2/4] omap3: ... Dirk Behme
- Re: [U-Boot] [PATCH 2/4] oma... Matthias Ludwig
- [U-Boot] [PATCHv2 1/4] o... Matthias Ludwig
- [U-Boot] [PATCHv2 2... Matthias Ludwig
- [U-Boot] [PATCH... Matthias Ludwig
- [U-Boot] [PATCH... Matthias Ludwig
- Re: [U-Boot] [P... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [P... Matthias Ludwig
- Re: [U-Boot] [P... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [P... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [P... Wolfgang Denk
- Re: [U-Boot] [P... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [P... Wolfgang Denk
- Re: [U-Boot] [P... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [P... Matthias Ludwig
- Re: [U-Boot] [PATCH... Jean-Christophe PLAGNIOL-VILLARD
- Re: [U-Boot] [P... Matthias Ludwig