diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2012-10-15 17:03:51 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2012-10-15 17:03:51 -0400 |
commit | d5e7c864f386306587f7f43ed22d48ef7e4050d6 (patch) | |
tree | ee0188a3e164efaf325c120565987bc35920b5f8 /drivers/mtd | |
parent | 8c4cc00552664d0be259388f2b1a49036c3757fa (diff) |
ARM: OMAP2+: DMA: Moving OMAP2+ DMA channel definitions to mach-omap2
Similar to omap1, some of the omap2+ dma channel definitions are
used by some drivers. For moving omap2+ dma channel definitions
to mach-omap2/, the used ones should be defined locally to driver.
Drivers can eliminate it using DT, platform data, or IORESOURCE_DMA
And moving omap2+ DMA channel definitions to mach-omap2
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r-- | drivers/mtd/nand/omap2.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/nand/omap2.c b/drivers/mtd/nand/omap2.c index 5b3138620646..3105f22993cd 100644 --- a/drivers/mtd/nand/omap2.c +++ b/drivers/mtd/nand/omap2.c | |||
@@ -111,6 +111,8 @@ | |||
111 | #define ECCCLEAR 0x100 | 111 | #define ECCCLEAR 0x100 |
112 | #define ECC1 0x1 | 112 | #define ECC1 0x1 |
113 | 113 | ||
114 | #define OMAP24XX_DMA_GPMC 4 | ||
115 | |||
114 | /* oob info generated runtime depending on ecc algorithm and layout selected */ | 116 | /* oob info generated runtime depending on ecc algorithm and layout selected */ |
115 | static struct nand_ecclayout omap_oobinfo; | 117 | static struct nand_ecclayout omap_oobinfo; |
116 | /* Define some generic bad / good block scan pattern which are used | 118 | /* Define some generic bad / good block scan pattern which are used |