aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/nand/omap2.c
diff options
context:
space:
mode:
authorSukumar Ghorai <s-ghorai@ti.com>2010-07-09 05:14:44 -0400
committerTony Lindgren <tony@atomide.com>2010-08-02 08:29:25 -0400
commit948d38e799f0ab87cf8ed9113fcdaaee61acf321 (patch)
tree04a3524066098465a23b28c71d2cbedf8ba6a20c /drivers/mtd/nand/omap2.c
parent055a1b8c9927bc587f293020a54c6cd8e24dfac0 (diff)
omap3 gpmc: functionality enhancement
few functions added in gpmc module and to be used by other drivers like NAND. Signed-off-by: Sukumar Ghorai <s-ghorai@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/mtd/nand/omap2.c')
-rw-r--r--drivers/mtd/nand/omap2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c
index ee87325c7712..ec8eb3109d0d 100644
--- a/drivers/mtd/nand/omap2.c
+++ b/drivers/mtd/nand/omap2.c
@@ -319,7 +319,7 @@ static void omap_read_buf_pref(struct mtd_info *mtd, u_char *buf, int len)
319 } while (len); 319 } while (len);
320 320
321 /* disable and stop the PFPW engine */ 321 /* disable and stop the PFPW engine */
322 gpmc_prefetch_reset(); 322 gpmc_prefetch_reset(info->gpmc_cs);
323 } 323 }
324} 324}
325 325
@@ -363,7 +363,7 @@ static void omap_write_buf_pref(struct mtd_info *mtd,
363 } 363 }
364 364
365 /* disable and stop the PFPW engine */ 365 /* disable and stop the PFPW engine */
366 gpmc_prefetch_reset(); 366 gpmc_prefetch_reset(info->gpmc_cs);
367 } 367 }
368} 368}
369 369