6 #ifndef __ASM_ARCH_DMA_H
7 #define __ASM_ARCH_DMA_H
9 #define MAX_DMA_ADDRESS 0xffffffff
10 #define MAX_DMA_CHANNELS 0
12 /* added by chris lee */
13 #define CPE_APB_DMA_MAX_CHANNEL 4 //paul
14 #define CPE_AHB_DMA_MAX_CHANNEL 8 //paul
17 #ifdef CONFIG_INTER_SRAM //added by ivan
18 static inline void __arch_adjust_zones(int node, unsigned long *size, unsigned long *holes)
22 size[2]=CONFIG_SRAM_SIZE/PAGE_SIZE;
23 size[0]=size[0]-size[2];
25 #define arch_adjust_zones(node,size,holes) __arch_adjust_zones(node,size,holes)
26 #endif // CONFIG_INTER_SRAM
28 #endif /* _ASM_ARCH_DMA_H */