Re: [U-Boot] [PATCH 5/5] mtd/nand: workaround for Freescale FCM to support 4k pagesize Nand chip

2011-12-09 Thread LiuShuo
于 2011年12月09日 16:27, Marek Vasut 写道: 于 2011年12月09日 00:37, Marek Vasut 写道: Freescale FCM controller has a 2K size limitation of buffer RAM. In order to support the Nand flash chip whose page size is larger than 2K bytes, we read/write 2k data repeatedly by issuing FIR_OP_RB/FIR_OP_WB and save

Re: [U-Boot] [PATCH 5/5] mtd/nand: workaround for Freescale FCM to support 4k pagesize Nand chip

2011-12-09 Thread LiuShuo
then. I think it is pellucid. I still don't think it is very important. - LiuShuo M ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 5/5] mtd/nand: workaround for Freescale FCM to support 4k pagesize Nand chip

2011-12-08 Thread LiuShuo
*/ + if (oob) + dst = ctrl-buffer + mtd-writesize + subpage * 64; + else + dst = ctrl-buffer + subpage * 2048; subpage * len ? dst = ctrl-buffer + (oob ? mtd-writesize : 0) + subpage * len ? Is this important ? I think it is ok. -LiuShuo + + src = ctrl