mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-29 23:53:32 +00:00
27 lines
549 B
C
27 lines
549 B
C
|
/*
|
||
|
* linux/include/asm-arm/arch-h720x/dma.h
|
||
|
*
|
||
|
* Architecture DMA routes
|
||
|
*
|
||
|
* Copyright (C) 1997.1998 Russell King
|
||
|
*/
|
||
|
#ifndef __ASM_ARCH_DMA_H
|
||
|
#define __ASM_ARCH_DMA_H
|
||
|
|
||
|
/*
|
||
|
* This is the maximum DMA address that can be DMAd to.
|
||
|
* There should not be more than (0xd0000000 - 0xc0000000)
|
||
|
* bytes of RAM.
|
||
|
*/
|
||
|
#define MAX_DMA_ADDRESS 0xd0000000
|
||
|
|
||
|
#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 */
|