Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / arch / m68k / coldfire / dma.c
blobc3279f7467d7cbc5ca8d249dce570a23db0f40b4
1 // SPDX-License-Identifier: GPL-2.0
2 /***************************************************************************/
4 /*
5 * dma.c -- Freescale ColdFire DMA support
7 * Copyright (C) 2007, Greg Ungerer (gerg@snapgear.com)
8 */
10 /***************************************************************************/
12 #include <linux/kernel.h>
13 #include <linux/module.h>
14 #include <asm/dma.h>
15 #include <asm/coldfire.h>
16 #include <asm/mcfsim.h>
17 #include <asm/mcfdma.h>
19 /***************************************************************************/
22 * DMA channel base address table.
24 unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = {
25 #ifdef MCFDMA_BASE0
26 MCFDMA_BASE0,
27 #endif
28 #ifdef MCFDMA_BASE1
29 MCFDMA_BASE1,
30 #endif
31 #ifdef MCFDMA_BASE2
32 MCFDMA_BASE2,
33 #endif
34 #ifdef MCFDMA_BASE3
35 MCFDMA_BASE3,
36 #endif
38 EXPORT_SYMBOL(dma_base_addr);
40 unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS];
41 EXPORT_SYMBOL(dma_device_address);
43 /***************************************************************************/