[U-Boot] [PATCH 1/7] arm, am335x: add some missing registers and defines for lcd and epwm support

Tom Rini trini at ti.com
Tue Aug 6 17:22:56 CEST 2013


On Sat, Aug 03, 2013 at 07:22:47AM +0200, Heiko Schocher wrote:

[snip]
> +struct pwmss_ecap_regs {
> +	unsigned int tsctr;
> +	unsigned int ctrphs;
> +	unsigned int cap1;
> +	unsigned int cap2;
> +	unsigned int cap3;
> +	unsigned int cap4;
> +	unsigned int reserved[4];

We use 'resv' in the rest of the am33xx headers, please do 'resv1[4]'
instead for consistency.

> diff --git a/arch/arm/include/asm/arch-am33xx/hardware_am33xx.h b/arch/arm/include/asm/arch-am33xx/hardware_am33xx.h
> index 432f0c7..293ede2 100644
> --- a/arch/arm/include/asm/arch-am33xx/hardware_am33xx.h
> +++ b/arch/arm/include/asm/arch-am33xx/hardware_am33xx.h
> @@ -43,4 +43,11 @@
>  /* RTC base address */
>  #define RTC_BASE			0x44E3E000
>  
> +/* LCD Controller */
> +#define	LCD_CNTL_BASE			0x4830E000

#define<space> not <tab>. Thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20130806/5e080010/attachment.pgp>


More information about the U-Boot mailing list