Re: [Resend][PATCH - Omapzoom][NAND] Add prefetch and DMA support

2009-01-08 Thread Tony Lindgren
* vimal singh [080916 14:53]: > Following patch taken over the omapzoom.org tree adds > prefetch (MPU and DMA) support to the OMAP2/3 nand driver. > The prefetch supprot also adds the support for 8-bit > devices. > David Brownell's patch (omap2_nand updates) changes > have been included in this pa

Re: [PATCH - Omapzoom][NAND] Add prefetch and DMA support

2008-11-06 Thread Juha Kuikka
Hi, Do you have any plans to use the prefetch engine's feature to synchronise to ready/busy pin? (GPMC_PREFETCH_CONFIG1's SYNCHROMODE=1) That way we could avoid the busy-wait for the flash to be ready. - Juha On Thu, Nov 6, 2008 at 5:57 AM, vimal singh <[EMAIL PROTECTED]> wrote: > This patch ad

[PATCH - Omapzoom][NAND] Add prefetch and DMA support

2008-11-06 Thread vimal singh
This patch adds prefetch support to access nand flash in both mpu and dma mode. This patch also adds 8-bit nand support (omap_read/write_buf8). Prefetch can be used for both 8- and 16-bit devices. Signed-off-by: Vimal Singh --- API's to access 8- and 16-bit NAND devices (omap_read/wirte_buf8/16)c

RE: [PATCH - Omapzoom] [NAND] Add prefetch and DMA support

2008-09-10 Thread Singh, Vimal
Hi, > On Monday 08 September 2008, Kamat, Nishant wrote: > > +config MTD_NAND_OMAP_PREFETCH > > + bool "GPMC prefetch support for NAND Flash device" > > + depends on MTD_NAND && MTD_NAND_OMAP2 > > + default n > > + help > > +The NAND device can be accessed for Read/

RE: [Resend][PATCH - Omapzoom][NAND] Add prefetch and DMA support

2008-09-10 Thread Singh, Vimal
Hi, > On Mon, Sep 08, 2008 at 01:03:35PM -0500, [EMAIL PROTECTED] wrote: > > +#ifdef CONFIG_MTD_NAND_OMAP_PREFETCH > > + static int use_prefetch = 1; > > + > > + /* "modprobe ... use_prefetch=0" etc */ > > + module_param(use_prefetch, bool, 0); > > + MODULE_PARM_DESC(use_prefetch,

Re: [PATCH - Omapzoom] [NAND] Add prefetch and DMA support

2008-09-08 Thread David Brownell
On Monday 08 September 2008, Kamat, Nishant wrote: > +config MTD_NAND_OMAP_PREFETCH > +       bool "GPMC prefetch support for NAND Flash device" > +       depends on MTD_NAND && MTD_NAND_OMAP2 > +       default n > +       help > +        The NAND device can be accessed for Read/Write using GPMC PR

Re: [Resend][PATCH - Omapzoom][NAND] Add prefetch and DMA support

2008-09-08 Thread David Brownell
On Monday 08 September 2008, Russell King - ARM Linux wrote: > > - while (len--) > > - *p++ = cpu_to_le16(readw(info->nand.IO_ADDR_R)); > > This driver needs work (see endianness explaination below.) Already done, but this patch doesn't build on that patch... -- To unsubscribe f

Re: [PATCH - Omapzoom] [NAND] Add prefetch and DMA support

2008-09-08 Thread David Brownell
On Monday 08 September 2008, Kamat, Nishant wrote: > -       while (len--) > -               *p++ = cpu_to_le16(readw(info->nand.IO_ADDR_R)); > +       if (use_prefetch) { Em, clearly this does not go on top of the NAND patch I sent recently ... please do that instead, so we don't need to repeat t

Re: [Resend][PATCH - Omapzoom][NAND] Add prefetch and DMA support

2008-09-08 Thread Russell King - ARM Linux
On Mon, Sep 08, 2008 at 01:03:35PM -0500, [EMAIL PROTECTED] wrote: > +#ifdef CONFIG_MTD_NAND_OMAP_PREFETCH > + static int use_prefetch = 1; > + > + /* "modprobe ... use_prefetch=0" etc */ > + module_param(use_prefetch, bool, 0); > + MODULE_PARM_DESC(use_prefetch, "enable/disable use

[Resend][PATCH - Omapzoom][NAND] Add prefetch and DMA support

2008-09-08 Thread nskamat
From: Vimal Singh <[EMAIL PROTECTED]> Following patch taken over the omapzoom.org tree adds prefetch and DMA support to the OMAP2/3 nand driver. Signed-off-by: Vimal Singh <[EMAIL PROTECTED]> Signed-off-by: Nishant Kamat <[EMAIL PROTECTED]> --- arch/arm/mach-omap2/gpmc.c | 95 +

[PATCH - Omapzoom] [NAND] Add prefetch and DMA support

2008-09-08 Thread Kamat, Nishant
From: Vimal Singh <[EMAIL PROTECTED]> Following patch taken over the omapzoom.org tree adds prefetch and DMA support to the OMAP2/3 nand driver. Signed-off-by: Vimal Singh <[EMAIL PROTECTED]> Signed-off-by: Nishant Kamat <[EMAIL PROTECTED]> --- arch/arm/mach-omap2/gpmc.c | 95