Re: [PATCH v3 2/3] omap3 nand: cleanup virtual address usages

2010-05-19 Thread Vimal Singh
On Tue, May 18, 2010 at 4:46 PM, Sukumar Ghorai s-gho...@ti.com wrote: This patch removes direct reference of gpmc address from generic nand platform code. Nand platform code now uses wrapper functions which are implemented in gpmc module. Signed-off-by: Sukumar Ghorai s-gho...@ti.com

Re: [PATCH v3 2/3] omap3 nand: cleanup virtual address usages

2010-05-19 Thread Vimal Singh
On Wed, May 19, 2010 at 10:54 PM, Ghorai, Sukumar s-gho...@ti.com wrote:        /* take care of subpage reads */        for (; len % 4 != 0; ) {                *buf++ = __raw_readb(info-nand.IO_ADDR_R);                len--;        } -       p = (u32 *) buf; Above code had an issue,

Re: [PATCH v3 2/3] omap3 nand: cleanup virtual address usages

2010-05-19 Thread Tony Lindgren
* Vimal Singh vimal.neww...@gmail.com [100519 11:02]: On Wed, May 19, 2010 at 10:54 PM, Ghorai, Sukumar s-gho...@ti.com wrote:        /* take care of subpage reads */        for (; len % 4 != 0; ) {                *buf++ = __raw_readb(info-nand.IO_ADDR_R);                len--;    

[PATCH v3 2/3] omap3 nand: cleanup virtual address usages

2010-05-18 Thread Sukumar Ghorai
This patch removes direct reference of gpmc address from generic nand platform code. Nand platform code now uses wrapper functions which are implemented in gpmc module. Signed-off-by: Sukumar Ghorai s-gho...@ti.com --- arch/arm/mach-omap2/gpmc-nand.c| 39 ++