block/genhd.c: cleanups
[pv_ops_mirror.git] / include / asm-arm / arch-h720x / dma.h
blobbfc6636679f72b8b1ccee4febf30c5d9f5774fe6
1 /*
2 * linux/include/asm-arm/arch-h720x/dma.h
4 * Architecture DMA routes
6 * Copyright (C) 1997.1998 Russell King
7 */
8 #ifndef __ASM_ARCH_DMA_H
9 #define __ASM_ARCH_DMA_H
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.
16 #define MAX_DMA_ADDRESS 0xd0000000
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
26 #endif /* __ASM_ARCH_DMA_H */