diff options
Diffstat (limited to 'include/asm-arm/arch-h720x/dma.h')
-rw-r--r-- | include/asm-arm/arch-h720x/dma.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/include/asm-arm/arch-h720x/dma.h b/include/asm-arm/arch-h720x/dma.h new file mode 100644 index 00000000000..bfc6636679f --- /dev/null +++ b/include/asm-arm/arch-h720x/dma.h | |||
@@ -0,0 +1,26 @@ | |||
1 | /* | ||
2 | * linux/include/asm-arm/arch-h720x/dma.h | ||
3 | * | ||
4 | * Architecture DMA routes | ||
5 | * | ||
6 | * Copyright (C) 1997.1998 Russell King | ||
7 | */ | ||
8 | #ifndef __ASM_ARCH_DMA_H | ||
9 | #define __ASM_ARCH_DMA_H | ||
10 | |||
11 | /* | ||
12 | * This is the maximum DMA address that can be DMAd to. | ||
13 | * There should not be more than (0xd0000000 - 0xc0000000) | ||
14 | * bytes of RAM. | ||
15 | */ | ||
16 | #define MAX_DMA_ADDRESS 0xd0000000 | ||
17 | |||
18 | #if defined (CONFIG_CPU_H7201) | ||
19 | #define MAX_DMA_CHANNELS 3 | ||
20 | #elif defined (CONFIG_CPU_H7202) | ||
21 | #define MAX_DMA_CHANNELS 4 | ||
22 | #else | ||
23 | #error processor definition missmatch | ||
24 | #endif | ||
25 | |||
26 | #endif /* __ASM_ARCH_DMA_H */ | ||