[U-Boot] [PATCH v2 22/22] powerpc/mpc85xx/p2020rdb-pca: Use L2 SRAM for SPL boot

Scott Wood scottwood at freescale.com
Wed Oct 31 00:37:09 CET 2012


On 10/29/2012 10:17:20 PM, Tabi Timur-B04825 wrote:
> On Mon, Oct 29, 2012 at 9:05 PM, Scott Wood <scottwood at freescale.com>  
> wrote:
> 
> > diff --git a/include/configs/p1_p2_rdb_pc.h  
> b/include/configs/p1_p2_rdb_pc.h
> > index ba7a364..f02ba2b 100644
> > --- a/include/configs/p1_p2_rdb_pc.h
> > +++ b/include/configs/p1_p2_rdb_pc.h
> > @@ -38,6 +38,7 @@
> >  #define __SW_BOOT_MASK         0x03
> >  #define __SW_BOOT_NOR          0xe4
> >  #define __SW_BOOT_SD           0x54
> > +#define CONFIG_SYS_L2_SIZE     (256 << 10)
> 
> Shouldn't this be in config_mpc85xx.h?

Ideally yes, but we use the result later in the board-specific config  
file, so it becomes a depedency mess.  We can move it if we start  
including config_mpc85xx.h from the board config file instead of later  
on.

-Scott


More information about the U-Boot mailing list