Re: [U-Boot] [RFC] nand boot for 85xx

2008-12-18 Thread Kumar Gala
> 4K for the first stage loader. currently the first stage loader occupy > 60~70% of the 4K bootpage. > > Another issue is, could we split the relocate code from > 4xx/83xx/85xx/86xx > to on common/ppc/relocate.S? If its common I don't see why not. - k

Re: [U-Boot] [RFC] nand boot for 85xx

2008-12-17 Thread Liu Dave
> 1. patch should be split into at least two patches. One for > the first stage loader changes and one for the second stage > u-boot absolutely correct. It is also my desired. Because you query the LAW, I submit the patch for that purpose. > 2. we should look at refactoring common code so not

Re: [U-Boot] [RFC] nand boot for 85xx

2008-12-17 Thread Liu Dave
> > +void board_init_f(ulong bootflag) > > +{ > > + volatile ccsr_local_ecm_t *ecm = (void *) > > (CONFIG_SYS_MPC85xx_ECM_ADDR); > > + u32 mas0, mas1, mas2, mas3; > > + > > + /* init serial port */ > > + NS16550_init((NS16550_t)(CONFIG_SYS_CCSRBAR + 0x4500), > > +

Re: [U-Boot] [RFC] nand boot for 85xx

2008-12-17 Thread Kumar Gala
On Dec 18, 2008, at 12:20 AM, Dave Liu wrote: > --- > The patch is to be done, It is only giving the context > why move the definition of fsl_law from .c to .h. > > Makefile | 13 +- > board/freescale/mpc8572ds/config.mk |5 + > board/freescale/m

Re: [U-Boot] [RFC] nand boot for 85xx

2008-12-17 Thread Kumar Gala
On Dec 18, 2008, at 12:20 AM, Dave Liu wrote: > diff --git a/board/freescale/mpc8572ds/nand_boot.c b/board/freescale/ > mpc8572ds/nand_boot.c > new file mode 100644 > index 000..1fb0acd > --- /dev/null > +++ b/board/freescale/mpc8572ds/nand_boot.c > @@ -0,0 +1,75 @@ > +/* > + > +#include >

[U-Boot] [RFC] nand boot for 85xx

2008-12-17 Thread Dave Liu
--- The patch is to be done, It is only giving the context why move the definition of fsl_law from .c to .h. Makefile | 13 +- board/freescale/mpc8572ds/config.mk |5 + board/freescale/mpc8572ds/nand_boot.c | 75 board/freescale/