diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-08-05 11:14:15 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-08-07 04:55:48 -0400 |
commit | a09e64fbc0094e3073dbb09c3b4bfe4ab669244b (patch) | |
tree | 69689f467179891b498bd7423fcf61925173db31 /arch/arm/mach-h720x/include/mach/dma.h | |
parent | a1b81a84fff05dbfef45b7012c26e1fee9973e5d (diff) |
[ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
This just leaves include/asm-arm/plat-* to deal with.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-h720x/include/mach/dma.h')
-rw-r--r-- | arch/arm/mach-h720x/include/mach/dma.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/mach-h720x/include/mach/dma.h b/arch/arm/mach-h720x/include/mach/dma.h new file mode 100644 index 000000000000..0a9d86ee84fe --- /dev/null +++ b/arch/arm/mach-h720x/include/mach/dma.h | |||
@@ -0,0 +1,26 @@ | |||
1 | /* | ||
2 | * arch/arm/mach-h720x/include/mach/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 */ | ||