Re: [U-Boot] [PATCH V4 2/5] omap-common: add nand spl support

2011-07-29 Thread Simon Schwarz
Hi Scott, On 07/28/2011 08:56 PM, Scott Wood wrote: > On Thu, 28 Jul 2011 09:51:01 +0200 > Simon Schwarz wrote: > >> On 07/27/2011 11:38 PM, Scott Wood wrote: >>> Note that there will not be one implementation of nand_copy_image suitable >>> for all hardware, just as currently nand_spl/nand_boot.

Re: [U-Boot] [PATCH V4 2/5] omap-common: add nand spl support

2011-07-28 Thread Scott Wood
On Thu, 28 Jul 2011 09:51:01 +0200 Simon Schwarz wrote: > On 07/27/2011 11:38 PM, Scott Wood wrote: > > Note that there will not be one implementation of nand_copy_image suitable > > for all hardware, just as currently nand_spl/nand_boot.c is not used for > > all NAND SPL targets. > > Hm. I know

Re: [U-Boot] [PATCH V4 2/5] omap-common: add nand spl support

2011-07-28 Thread Simon Schwarz
Dear Scott Wood, On 07/27/2011 11:38 PM, Scott Wood wrote: > On Wed, 27 Jul 2011 10:42:22 +0200 > Simon Schwarz wrote: > >> Dear Scott Wood, >> >> On 07/26/2011 08:06 PM, Scott Wood wrote: >>> On Tue, 26 Jul 2011 14:09:15 +0200 >>> Simon Schwarz wrote: >>> +#ifdef CONFIG_SPL_NAND_SUPPORT >

Re: [U-Boot] [PATCH V4 2/5] omap-common: add nand spl support

2011-07-26 Thread Scott Wood
On Tue, 26 Jul 2011 14:09:15 +0200 Simon Schwarz wrote: > +#ifdef CONFIG_SPL_NAND_SUPPORT > +static void nand_load_image(void) > +{ > + gpmc_init(); > + nand_init(); > + nand_copy_image(CONFIG_SYS_NAND_U_BOOT_OFFS, > + CONFIG_SYS_NAND_U_BOOT_SIZE, > + (uchar *)

[U-Boot] [PATCH V4 2/5] omap-common: add nand spl support

2011-07-26 Thread Simon Schwarz
Add NAND support for the new SPL structure. Signed-off-by: Simon Schwarz --- This patch didn't exist before V2! V2 changes: ADD Some define-barriers for OMAP3 to only use NAND ADD nand_load_image() - inits the OMAP gpmc, loads the images - parses the header CHG cosmetic ADD do_reset() im