[U-Boot] [PATCH 7/8] powerpc/85xx: do not initialize QE if QE's firmware is in nand flash

Haiying Wang Haiying.Wang at freescale.com
Wed Dec 1 17:06:10 CET 2010


On Wed, 2010-12-01 at 08:56 -0700, Kumar Gala wrote:
> > diff --git a/arch/powerpc/cpu/mpc85xx/cpu_init.c
> b/arch/powerpc/cpu/mpc85xx/cpu_init.c
> > index 4b8faa5..eb34378 100644
> > --- a/arch/powerpc/cpu/mpc85xx/cpu_init.c
> > +++ b/arch/powerpc/cpu/mpc85xx/cpu_init.c
> > @@ -369,7 +369,7 @@ int cpu_init_r(void)
> >
> >       enable_cpc();
> >
> > -#ifdef CONFIG_QE
> > +#if defined(CONFIG_QE) && !defined(CONFIG_SYS_QE_FW_IN_NAND)
> >       uint qe_base = CONFIG_SYS_IMMR + 0x00080000; /* QE immr base
> */
> >       qe_init(qe_base);
> >       qe_reset();
> > --
> > 1.7.3.1.50.g1e633
> 
> Any reason to just not move QE init for everyone?
> 
That was based on Wolfgang's comment:
http://lists.denx.de/pipermail/u-boot/2010-August/075657.html

Haiying




More information about the U-Boot mailing list