summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/gpmc-nand.c
diff options
context:
space:
mode:
authorAfzal Mohammed <afzal@ti.com>2012-08-30 23:53:22 +0400
committerTony Lindgren <tony@atomide.com>2012-08-30 23:53:22 +0400
commit65b97cf6b8deca3ad7a3e00e8316bb89617190fb (patch)
tree36609ec30a2666d21ef29c3b59b9fd7418d480ef /arch/arm/mach-omap2/gpmc-nand.c
parentd126d0158b98469b833bcd5214bc909f164a0033 (diff)
downloadlinux-65b97cf6b8deca3ad7a3e00e8316bb89617190fb.tar.xz
mtd: nand: omap2: handle nand on gpmc
GPMC platform initialization has been modified to fill NAND platform data with GPMC NAND register details. As these registers are accessible in NAND driver itself, configure NAND in GPMC by itself. Modified prefetch and ecc functions are logically same as the corresponding exported symbols from GPMC code. Note: Verfying that other CS have not yet enabled for prefetch & ecc has to be incorporated. Currently this causes no issues as there are no boards that use NAND on multiple CS. With ongoing GPMC driver migration, perhaps it would be better to consider NAND connected on multiple CS as a single peripheral using multiple CS. This would make handling multiple CS issues easier. Signed-off-by: Afzal Mohammed <afzal@ti.com> Acked-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/gpmc-nand.c')
0 files changed, 0 insertions, 0 deletions