RE: [PATCH v2 4/6] mtd: m25p80: add a read function to read page by page

2010-09-02 Thread Hu Mingkai-B21284
Mingkai-B21284; David Woodhouse > Cc: linuxppc-...@ozlabs.org; spi-devel-gene...@lists.sourceforge.net; Gala > Kumar-B11780; Zang Roy-R61911 > Subject: Re: [PATCH v2 4/6] mtd: m25p80: add a read function to read page by > page > > [adding David Woodhouse] > > (Btw, you shou

Re: [spi-devel-general] [PATCH v2 4/6] mtd: m25p80: add a read function to read page by page

2010-08-10 Thread David Brownell
--- On Tue, 8/10/10, Grant Likely wrote: > This one bothers me, but I can't put my > finger on it. The flag feels > like a controller specific hack. That's because it *IS* ... Not clear what a good fix would look like. But in general, SPI master controllers are responsible for returning all b

Re: [PATCH v2 4/6] mtd: m25p80: add a read function to read page by page

2010-08-10 Thread Grant Likely
[adding David Woodhouse] (Btw, you should cc: David Woodhouse and the mtd list on the MTD patches). On Mon, Aug 2, 2010 at 1:52 AM, Mingkai Hu wrote: > For Freescale's eSPI controller, the max transaction length one time > is limitted by the SPCOM[TRANSLEN] field which is 0x. When used > mkf

[PATCH v2 4/6] mtd: m25p80: add a read function to read page by page

2010-08-02 Thread Mingkai Hu
For Freescale's eSPI controller, the max transaction length one time is limitted by the SPCOM[TRANSLEN] field which is 0x. When used mkfs.ext2 command to create ext2 filesystem on the flash, the read length will exceed the max value of the SPCOM[TRANSLEN] field, so change the read function to r