Re: [U-Boot] [PATCH V6 3/5] nand spl: add NAND Library to new SPL

2011-07-29 Thread Simon Schwarz
On 07/28/2011 09:16 PM, Scott Wood wrote: On Thu, 28 Jul 2011 10:38:09 +0200 Simon Schwarzsimonschwarz...@googlemail.com wrote: +CONFIG_SPL_POWER_SUPPORT (drivers/power/libpower.o) Not sure what this has to do with NAND. right. This used by devkit8000 - will change the subject to spl: add

Re: [U-Boot] [PATCH V6 3/5] nand spl: add NAND Library to new SPL

2011-07-29 Thread Wolfgang Denk
Dear Simon Schwarz, In message 4e327989.6070...@gmail.com you wrote: On 07/28/2011 09:16 PM, Scott Wood wrote: On Thu, 28 Jul 2011 10:38:09 +0200 Simon Schwarzsimonschwarz...@googlemail.com wrote: +CONFIG_SPL_POWER_SUPPORT (drivers/power/libpower.o) Not sure what this has to do with

Re: [U-Boot] [PATCH V6 3/5] nand spl: add NAND Library to new SPL

2011-07-29 Thread Simon Schwarz
Hi Aneesh, On 07/28/2011 06:18 PM, Aneesh V wrote: [snip] Oh. There I played around with the Access Size Adaptation of the GPMC - It is still a x16 interface - this is what the 16 refers to IMHO. But Ok. I have to admit that I am not a NAND expert and I do not understand this code well.

Re: [U-Boot] [PATCH V6 3/5] nand spl: add NAND Library to new SPL

2011-07-29 Thread Simon Schwarz
Dear Wolfgang Denk, On 07/29/2011 11:27 AM, Wolfgang Denk wrote: Dear Simon Schwarz, In message4e327989.6070...@gmail.com you wrote: On 07/28/2011 09:16 PM, Scott Wood wrote: On Thu, 28 Jul 2011 10:38:09 +0200 Simon Schwarzsimonschwarz...@googlemail.com wrote: +CONFIG_SPL_POWER_SUPPORT

[U-Boot] [PATCH V6 3/5] nand spl: add NAND Library to new SPL

2011-07-28 Thread Simon Schwarz
Insert some NAND driver sources into NAND SPL library. Signed-off-by: Simon Schwarz simonschwarz...@gmail.com --- V1 changes: CHG Default to HW ecc in SPL build ADD nand_read_buf16 function, read buffer ADD omap_dev_ready function, indicte if chip is ready V2 changes: DEL GPMC_WAIT0_PIN_ACTIVE

Re: [U-Boot] [PATCH V6 3/5] nand spl: add NAND Library to new SPL

2011-07-28 Thread Aneesh V
On Thursday 28 July 2011 02:08 PM, Simon Schwarz wrote: Insert some NAND driver sources into NAND SPL library. Signed-off-by: Simon Schwarzsimonschwarz...@gmail.com [snip ..] + +int nand_curr_device = -1; Is nand_curr_device used anywhere? +static int nand_ecc_pos[] =

Re: [U-Boot] [PATCH V6 3/5] nand spl: add NAND Library to new SPL

2011-07-28 Thread Simon Schwarz
Hi Aneesh, On 07/28/2011 01:54 PM, Aneesh V wrote: On Thursday 28 July 2011 02:08 PM, Simon Schwarz wrote: Insert some NAND driver sources into NAND SPL library. Signed-off-by: Simon Schwarzsimonschwarz...@gmail.com [snip ..] + +int nand_curr_device = -1; Is nand_curr_device used

Re: [U-Boot] [PATCH V6 3/5] nand spl: add NAND Library to new SPL

2011-07-28 Thread Aneesh V
On Thursday 28 July 2011 07:34 PM, Simon Schwarz wrote: Hi Aneesh, On 07/28/2011 01:54 PM, Aneesh V wrote: On Thursday 28 July 2011 02:08 PM, Simon Schwarz wrote: Insert some NAND driver sources into NAND SPL library. Signed-off-by: Simon Schwarzsimonschwarz...@gmail.com [snip ..] +

Re: [U-Boot] [PATCH V6 3/5] nand spl: add NAND Library to new SPL

2011-07-28 Thread Scott Wood
On Thu, 28 Jul 2011 10:38:09 +0200 Simon Schwarz simonschwarz...@googlemail.com wrote: +CONFIG_SPL_POWER_SUPPORT (drivers/power/libpower.o) Not sure what this has to do with NAND. +int nand_curr_device = -1; +static int nand_ecc_pos[] = CONFIG_SYS_NAND_ECCPOS; +static nand_info_t info;