-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Greg Ungerer
authored and
Linus Torvalds
committed
Feb 1, 2008
1 parent
088022a
commit aa06f10
Showing
2 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 6d3867987b8eefd880246f7dab085fcbe348c4dd | ||
refs/heads/master: dad263b84e244cd991f40ab9f87813078f585abb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/***************************************************************************/ | ||
|
||
/* | ||
* dma.c -- Freescale ColdFire DMA support | ||
* | ||
* Copyright (C) 2007, Greg Ungerer (gerg@snapgear.com) | ||
*/ | ||
|
||
/***************************************************************************/ | ||
|
||
#include <linux/kernel.h> | ||
#include <asm/dma.h> | ||
#include <asm/coldfire.h> | ||
#include <asm/mcfsim.h> | ||
#include <asm/mcfdma.h> | ||
|
||
/***************************************************************************/ | ||
|
||
/* | ||
* DMA channel base address table. | ||
*/ | ||
unsigned int dma_base_addr[MAX_M68K_DMA_CHANNELS] = { | ||
#ifdef MCFDMA_BASE0 | ||
MCF_MBAR + MCFDMA_BASE0, | ||
#endif | ||
#ifdef MCFDMA_BASE1 | ||
MCF_MBAR + MCFDMA_BASE1, | ||
#endif | ||
#ifdef MCFDMA_BASE2 | ||
MCF_MBAR + MCFDMA_BASE2, | ||
#endif | ||
#ifdef MCFDMA_BASE3 | ||
MCF_MBAR + MCFDMA_BASE3, | ||
#endif | ||
}; | ||
|
||
unsigned int dma_device_address[MAX_M68K_DMA_CHANNELS]; | ||
|
||
/***************************************************************************/ |