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

ksi at koi8.net ksi at koi8.net
Mon Feb 23 19:53:38 CET 2009


On Mon, 23 Feb 2009, Kumar Gala wrote:

> 
> 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.

Corrected patch posted.

---
******************************************************************
*  KSI at home    KOI8 Net  < >  The impossible we do immediately.  *
*  Las Vegas   NV, USA   < >  Miracles require 24-hour notice.   *
******************************************************************


More information about the U-Boot mailing list