[U-Boot] [PATCH] [85xx] Add eTSEC 1/2 IO override control definition

Kumar Gala galak at kernel.crashing.org
Mon Feb 23 19:47:35 CET 2009


On Feb 23, 2009, at 12:42 PM, ksi at koi8.net wrote:

> This adds missing tsec12ioovcr to include/asm-ppc/immap_85xx.h. It was
> named "res14" (for "reserved") while tsec34ioovcr was properly there.
>
> Signed-off-by: Sergey Kubushyn <ksi at koi8.net>
> ---
> diff -purN u-boot.orig/include/asm-ppc/immap_85xx.h u-boot/include/ 
> asm-ppc/immap_85xx.h
> --- u-boot.orig/include/asm-ppc/immap_85xx.h	2009-02-19  
> 13:39:31.000000000 -0800
> +++ u-boot/include/asm-ppc/immap_85xx.h	2009-02-23  
> 10:32:48.000000000 -0800
> @@ -1667,7 +1667,11 @@ typedef struct ccsr_gur {
> 	uint	lbiuiplldcr0;	/* 0xe0f1c -- LBIU PLL Debug Reg 0 */
> 	uint	lbiuiplldcr1;	/* 0xe0f20 -- LBIU PLL Debug Reg 1 */
> 	uint	ddrioovcr;	/* 0xe0f24 - DDR IO Override Control */
> +#ifdef CONFIG_MPC8548
> +	uint	tsec12ioovcr;	/* 0xe0f28 - eTSEC 1/2 IO override control */
> +#else
> 	uint	res14;		/* 0xe0f28 */
> +#endif

don't bother with the ifdef if the field was previously reserved.

>
> 	uint	tsec34ioovcr;	/* 0xe0f2c - eTSEC 3/4 IO override control */
> 	char	res15[61648];	/* 0xe0f30 to 0xefffff */
> } ccsr_gur_t;

- k



More information about the U-Boot mailing list