Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-22 Thread Hu Mingkai-B21284
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Wednesday, September 23, 2009 5:11 AM > To: Hu Mingkai-B21284 > Cc: u-boot@lists.denx.de; Wood Scott-B07421; ga...@kernel.crashing.org > Subject: Re: [U-Boot] [PATCH v3 1/3] NAND boot:

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-22 Thread Wolfgang Denk
Dear Mingkai Hu, In message <1253244935-1555-1-git-send-email-mingkai...@freescale.com> you wrote: > MPC8536E can support booting from NAND flash which uses the > image u-boot-nand.bin. This image contains two parts: a 4K > NAND loader and a main U-Boot image. The former is appended > to the latt

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-21 Thread Scott Wood
On Sun, Sep 20, 2009 at 11:40:33PM -0700, Hu Mingkai-B21284 wrote: > > How about changing it to: > > > > # Options: NAND, 36BIT > > MPC8536DS_%_config MPC8536DS_config: unconfig > > > I don't get it. what's the '%'? or how to use it? It is a wildcard (or more specifically, a pattern rule). It w

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-20 Thread Hu Mingkai-B21284
> -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, September 19, 2009 12:37 AM > To: Hu Mingkai-B21284 > Cc: u-boot@lists.denx.de; ga...@kernel.crashing.org > Subject: Re: [PATCH v3 1/3] NAND boot: MPC8536DS support > > On Fri, Sep 18, 2009 at 11:35:33AM +0800, Mingkai Hu

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-20 Thread Hu Mingkai-B21284
> -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Saturday, September 19, 2009 2:42 AM > To: Hu Mingkai-B21284 > Cc: u-boot@lists.denx.de; Wood Scott-B07421 > Subject: Re: [PATCH v3 1/3] NAND boot: MPC8536DS support > > > + > > +#include > > +#include

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-20 Thread Hu Mingkai-B21284
> -Original Message- > From: Liu Dave-R63238 > Sent: Saturday, September 19, 2009 8:01 AM > To: Kumar Gala; Hu Mingkai-B21284 > Cc: Wood Scott-B07421; u-boot@lists.denx.de > Subject: RE: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support > > >

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-20 Thread Hu Mingkai-B21284
> -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Saturday, September 19, 2009 2:41 AM > To: Hu Mingkai-B21284 > Cc: u-boot@lists.denx.de; Wood Scott-B07421 > Subject: Re: [PATCH v3 1/3] NAND boot: MPC8536DS support > > > On Sep 17, 2009, at 10:35 PM,

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-20 Thread Hu Mingkai-B21284
> -Original Message- > From: Kumar Gala [mailto:ga...@kernel.crashing.org] > Sent: Friday, September 18, 2009 9:55 PM > To: Hu Mingkai-B21284 > Cc: u-boot@lists.denx.de; Wood Scott-B07421 > Subject: Re: [PATCH v3 1/3] NAND boot: MPC8536DS support > > Looks good. > > Any plans on addin

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-20 Thread Dudhat Dipen-B09055
-B21284 Cc: Wood Scott-B07421; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support > > diff --git a/cpu/mpc85xx/cpu_init_nand.c > > +void cpu_init_f(void) > > +{ > > + ccsr_lbc_t *lbc = (void *)(CONFIG_SYS_MPC85xx_LBC_ADDR); > >

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-18 Thread Liu Dave-R63238
> > diff --git a/cpu/mpc85xx/cpu_init_nand.c > > +void cpu_init_f(void) > > +{ > > + ccsr_lbc_t *lbc = (void *)(CONFIG_SYS_MPC85xx_LBC_ADDR); > > + > > + /* > > +* LCRR - Clock Ratio Register - set up local bus timing > > +* when needed > > +*/ > > + out_be32(&lbc->lcrr, LCRR_DB

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-18 Thread Kumar Gala
On Sep 17, 2009, at 10:35 PM, Mingkai Hu wrote: > diff --git a/cpu/mpc85xx/cpu_init_nand.c b/cpu/mpc85xx/cpu_init_nand.c > new file mode 100644 > index 000..e62f8d3 > --- /dev/null > +++ b/cpu/mpc85xx/cpu_init_nand.c > @@ -0,0 +1,69 @@ > +/* > + * Copyright 2009 Freescale Semiconductor, Inc.

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-18 Thread Kumar Gala
On Sep 17, 2009, at 10:35 PM, Mingkai Hu wrote: > nand_spl/board/freescale/mpc8536ds/u-boot.lds | 67 + Can we move this to some common location? cpu/mpc85xx/u- boot_nand_spl.lds? - k ___ U-Boot mailing list U-Boot@lists.denx.de http:/

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-18 Thread Scott Wood
On Fri, Sep 18, 2009 at 11:35:33AM +0800, Mingkai Hu wrote: > diff --git a/Makefile b/Makefile > index 99837a3..4d18a9f 100644 > --- a/Makefile > +++ b/Makefile > @@ -2446,6 +2446,7 @@ vme8349_config: unconfig > ATUM8548_config: unconfig > @$(MKCONFIG) $(@:_config=) ppc mpc85xx a

Re: [U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-18 Thread Kumar Gala
Looks good. Any plans on adding support on 8572 and/or p2020? - k ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v3 1/3] NAND boot: MPC8536DS support

2009-09-17 Thread Mingkai Hu
MPC8536E can support booting from NAND flash which uses the image u-boot-nand.bin. This image contains two parts: a 4K NAND loader and a main U-Boot image. The former is appended to the latter to produce u-boot-nand.bin. The 4K NAND loader includes the corresponding nand_spl directory, along with t