b9c78022b0
Move the definition of MAX_DMA_ADDRESS from mach/dma.h to mach/memory.h, thereby placing it along side its relative, ISA_DMA_THRESHOLD. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
20 lines
373 B
C
20 lines
373 B
C
/*
|
|
* arch/arm/mach-h720x/include/mach/dma.h
|
|
*
|
|
* 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 */
|