Re: [U-Boot] [PATCH 6/6] S5PC100: Add onenand_ipl for SMDKC100 support

2009-07-31 Thread Scott Wood
On Thu, Jun 25, 2009 at 05:21:45PM +0900, HeungJun Kim wrote: +#ifdef CONFIG_S5PC1XX + unsigned int *p = (unsigned int *) buf; + int mem_addr, i; + + mem_addr = MEM_ADDR(block, page, 0); + + pagesize = 2; + + for (i = 0; i pagesize; i++) + *p++ =

Re: [U-Boot] [PATCH 6/6] S5PC100: Add onenand_ipl for SMDKC100 support

2009-07-31 Thread Kyungmin Park
hi On Sat, Aug 1, 2009 at 7:19 AM, Scott Woodscottw...@freescale.com wrote: On Thu, Jun 25, 2009 at 05:21:45PM +0900, HeungJun Kim wrote: +#ifdef CONFIG_S5PC1XX +     unsigned int *p = (unsigned int *) buf; +     int mem_addr, i; + +     mem_addr = MEM_ADDR(block, page, 0); + +    

Re: [U-Boot] [PATCH 6/6] S5PC100: Add onenand_ipl for SMDKC100 support

2009-07-31 Thread Scott Wood
Kyungmin Park wrote: No problem, One question, how to use use generic s5pc100 read function simultaneously. Since our test board use two cpu, s5pc100 s5pc110. but each cpu has different read function. I want to use it both with only one u-boot image. In this case we have to distinguish and

Re: [U-Boot] [PATCH 6/6] S5PC100: Add onenand_ipl for SMDKC100 support

2009-07-20 Thread Wolfgang Denk
Dear Kyungmin Park, In message 9c9fda240907192016i32c7312dh490629f2f2bb3...@mail.gmail.com you wrote: /* read a page with ECC */ static inline int onenand_read_page(ulong block, ulong page, u_char * buf , int pagesize) { +#ifdef CONFIG_S5PC1XX +

Re: [U-Boot] [PATCH 6/6] S5PC100: Add onenand_ipl for SMDKC100 support

2009-07-20 Thread Kyungmin Park
On Tue, Jul 21, 2009 at 6:18 AM, Wolfgang Denkw...@denx.de wrote: Dear Kyungmin Park, In message 9c9fda240907192016i32c7312dh490629f2f2bb3...@mail.gmail.com you wrote:  /* read a page with ECC */  static inline int onenand_read_page(ulong block, ulong page,                              

Re: [U-Boot] [PATCH 6/6] S5PC100: Add onenand_ipl for SMDKC100 support

2009-07-19 Thread Wolfgang Denk
Dear HeungJun Kim, In message 350d1ec30906250121q4e860812s35054aaee8c20...@mail.gmail.com you wrote: The SMDKC100 Board has 256MB onenand. So, It's bootable, if this patch is adapted thus the board use onenand_ipl. Signed-off-by: HeungJun, Kim riverful@samsung.com --- This patch

Re: [U-Boot] [PATCH 6/6] S5PC100: Add onenand_ipl for SMDKC100 support

2009-07-19 Thread Kyungmin Park
Hi, On Mon, Jul 20, 2009 at 5:04 AM, Wolfgang Denkw...@denx.de wrote: Dear HeungJun Kim, In message 350d1ec30906250121q4e860812s35054aaee8c20...@mail.gmail.com you wrote: The SMDKC100 Board has 256MB onenand. So, It's bootable, if this patch is adapted thus the board use onenand_ipl.

[U-Boot] [PATCH 6/6] S5PC100: Add onenand_ipl for SMDKC100 support

2009-06-25 Thread HeungJun Kim
The SMDKC100 Board has 256MB onenand. So, It's bootable, if this patch is adapted thus the board use onenand_ipl. Signed-off-by: HeungJun, Kim riverful@samsung.com --- This patch support onenand boot on SMDKC100 Board. onenand_ipl/board/samsung/smdkc100/Makefile| 95