2005-04-16 18:20:36 -04:00
|
|
|
/*
|
2008-08-05 11:14:15 -04:00
|
|
|
* arch/arm/mach-h720x/include/mach/dma.h
|
2005-04-16 18:20:36 -04:00
|
|
|
*
|
|
|
|
* Architecture DMA routes
|
|
|
|
*
|
|
|
|
* Copyright (C) 1997.1998 Russell King
|
|
|
|
*/
|
|
|
|
#ifndef __ASM_ARCH_DMA_H
|
|
|
|
#define __ASM_ARCH_DMA_H
|
|
|
|
|
|
|
|
#if defined (CONFIG_CPU_H7201)
|
|
|
|
#define MAX_DMA_CHANNELS 3
|
|
|
|
#elif defined (CONFIG_CPU_H7202)
|
|
|
|
#define MAX_DMA_CHANNELS 4
|
|
|
|
#else
|
|
|
|
#error processor definition missmatch
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __ASM_ARCH_DMA_H */
|