[ARM] Move common definition of MAX_DMA_ADDRESS to asm/dma.h
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
6842b92992
commit
d4c6fc9976
|
@ -11,7 +11,6 @@
|
|||
#ifndef __ASM_ARCH_DMA_H
|
||||
#define __ASM_ARCH_DMA_H
|
||||
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
#define MAX_DMA_CHANNELS 0
|
||||
|
||||
#endif
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
#ifndef __ASM_ARCH_DMA_H
|
||||
#define __ASM_ARCH_DMA_H
|
||||
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
|
||||
#define MAX_DMA_CHANNELS 0
|
||||
|
||||
#endif /* _ASM_ARCH_DMA_H */
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
#ifndef __ASM_ARCH_DMA_H
|
||||
#define __ASM_ARCH_DMA_H
|
||||
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
#define MAX_DMA_CHANNELS 0
|
||||
|
||||
#endif /* _ASM_ARCH_DMA_H */
|
||||
|
|
|
@ -9,11 +9,6 @@
|
|||
#ifndef __ASM_ARCH_DMA_H
|
||||
#define __ASM_ARCH_DMA_H
|
||||
|
||||
/*
|
||||
* This is the maximum DMA address that can be DMAd to.
|
||||
*/
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
|
||||
/*
|
||||
* The 21285 has two internal DMA channels; we call these 8 and 9.
|
||||
* On CATS hardware we have an additional eight ISA dma channels
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
#ifndef __ASM_ARCH_DMA_H
|
||||
#define __ASM_ARCH_DMA_H
|
||||
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
|
||||
#define MAX_DMA_CHANNELS 0
|
||||
|
||||
#endif /* _ASM_ARCH_DMA_H */
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
#ifndef __ASM_ARCH_DMA_H
|
||||
#define __ASM_ARCH_DMA_H
|
||||
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
|
||||
#define MAX_DMA_CHANNELS 0
|
||||
|
||||
/*
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
#ifndef __ASM_ARCH_DMA_H
|
||||
#define __ASM_ARCH_DMA_H
|
||||
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
|
||||
#define MAX_DMA_CHANNELS 0
|
||||
|
||||
#endif /* _ASM_ARCH_DMA_H */
|
||||
|
|
|
@ -11,6 +11,4 @@
|
|||
#ifndef _IOP3XX_DMA_H_P
|
||||
#define _IOP3XX_DMA_H_P
|
||||
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
|
||||
#endif /* _ASM_ARCH_DMA_H_P */
|
||||
|
|
|
@ -10,8 +10,6 @@
|
|||
#ifndef __ASM_ARCH_DMA_H
|
||||
#define __ASM_ARCH_DMA_H
|
||||
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
|
||||
/* No DMA */
|
||||
#define MAX_DMA_CHANNELS 0
|
||||
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#ifndef __ASM_ARCH_DMA_H
|
||||
#define __ASM_ARCH_DMA_H
|
||||
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
#define MAX_DMA_CHANNELS 0 /* All DMA is internal to CPU */
|
||||
|
||||
#endif /* _ASM_ARCH_DMA_H */
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#ifndef __ASM_ARCH_DMA_H
|
||||
#define __ASM_ARCH_DMA_H
|
||||
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
#define MAX_DMA_CHANNELS 0
|
||||
|
||||
/* Hardware registers for omap1 */
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
#ifndef __ASM_ARCH_DMA_H
|
||||
#define __ASM_ARCH_DMA_H
|
||||
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
|
||||
/* No DMA as the rest of the world see it */
|
||||
#define MAX_DMA_CHANNELS 0
|
||||
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#ifndef __ASM_ARCH_DMA_H
|
||||
#define __ASM_ARCH_DMA_H
|
||||
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
#define MAX_DMA_CHANNELS 0
|
||||
|
||||
#endif /* _ASM_ARCH_DMA_H */
|
||||
|
|
|
@ -14,12 +14,6 @@
|
|||
#include "hardware.h"
|
||||
|
||||
|
||||
/*
|
||||
* This is the maximum DMA address that can be DMAd to.
|
||||
*/
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
|
||||
|
||||
/*
|
||||
* The regular generic DMA interface is inappropriate for the
|
||||
* SA1100 DMA model. None of the SA1100 specific drivers using
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#ifndef __ASM_ARCH_DMA_H
|
||||
#define __ASM_ARCH_DMA_H
|
||||
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
#define MAX_DMA_CHANNELS 0
|
||||
|
||||
#endif /* _ASM_ARCH_DMA_H */
|
||||
|
|
|
@ -9,6 +9,13 @@ typedef unsigned int dmach_t;
|
|||
#include <asm/scatterlist.h>
|
||||
#include <asm/arch/dma.h>
|
||||
|
||||
/*
|
||||
* This is the maximum virtual address which can be DMA'd from.
|
||||
*/
|
||||
#ifndef MAX_DMA_ADDRESS
|
||||
#define MAX_DMA_ADDRESS 0xffffffff
|
||||
#endif
|
||||
|
||||
/*
|
||||
* DMA modes
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue