~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/m68knommu/platform/coldfire/dma.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/***************************************************************************/
2
 
 
3
 
/*
4
 
 *      dma.c -- Freescale ColdFire DMA support
5
 
 *
6
 
 *      Copyright (C) 2007, Greg Ungerer (gerg@snapgear.com)
7
 
 */
8
 
 
9
 
/***************************************************************************/
10
 
 
11
 
#include <linux/kernel.h>
12
 
#include <asm/dma.h>
13
 
#include <asm/coldfire.h>
14
 
#include <asm/mcfsim.h>
15
 
#include <asm/mcfdma.h>
16
 
 
17
 
/***************************************************************************/
18
 
 
19
 
/*
20
 
 *      DMA channel base address table.
21
 
 */
22
 
unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = {
23
 
#ifdef MCFDMA_BASE0
24
 
        MCF_MBAR + MCFDMA_BASE0,
25
 
#endif
26
 
#ifdef MCFDMA_BASE1
27
 
        MCF_MBAR + MCFDMA_BASE1,
28
 
#endif
29
 
#ifdef MCFDMA_BASE2
30
 
        MCF_MBAR + MCFDMA_BASE2,
31
 
#endif
32
 
#ifdef MCFDMA_BASE3
33
 
        MCF_MBAR + MCFDMA_BASE3,
34
 
#endif
35
 
};
36
 
 
37
 
unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];
38
 
 
39
 
/***************************************************************************/