Re: [U-Boot] [PATCH] s3c2410_nand add missing functions for CONFIG_NAND_SPL

2009-10-29 Thread Hui Tang
Dear Scott, > Why do you need to write to the buffer in the NAND SPL?  I don't think you > need read_byte either. Yes, we don't use nand_read_byte() and nand_write_buf(), it's just copy from drivers/mtd/nand/s3c64xx.c. BR. Hui. ___ U-Boot mailing list

Re: [U-Boot] [PATCH] s3c2410_nand add missing functions for CONFIG_NAND_SPL

2009-10-29 Thread Scott Wood
On Thu, Oct 29, 2009 at 05:12:14PM +0800, Hui.Tang wrote: > add missing functios nand_read_byte(), nand_write_buf(), nand_read_buf() > for CONFIG_NAND_SPL config, also set nand->select_chip = NULL, since in > nand_boot() we will check it to do a select_chip action. Why do you need to write to the

[U-Boot] [PATCH] s3c2410_nand add missing functions for CONFIG_NAND_SPL

2009-10-29 Thread Hui.Tang
add missing functios nand_read_byte(), nand_write_buf(), nand_read_buf() for CONFIG_NAND_SPL config, also set nand->select_chip = NULL, since in nand_boot() we will check it to do a select_chip action. --- drivers/mtd/nand/s3c2410_nand.c | 39 +-- 1 files ch