[PATCH 4/5 fix] mtd: nand: parse out the JEDEC compliant nand
Huang Shijie
b32955 at freescale.com
Fri Feb 7 00:51:14 EST 2014
On Fri, Jan 31, 2014 at 10:23:17AM -0800, Brian Norris wrote:
> > + chip->cmdfunc(mtd, NAND_CMD_PARAM, 0x40, -1);
> > + for (i = 0; i < 3; i++) {
> > + chip->read_buf(mtd, (uint8_t *)p, sizeof(*p));
>
> Rather than using read_buf(), can you run read_byte() in a loop? That
> will solve our problems with x16 bus devices, I think.
thanks.
I will use the read_byte() in the next version.
thanks
Huang Shijie
More information about the linux-mtd
mailing list