dma.h 549 B

1234567891011121314151617181920212223242526
  1. /*
  2. * arch/arm/mach-h720x/include/mach/dma.h
  3. *
  4. * Architecture DMA routes
  5. *
  6. * Copyright (C) 1997.1998 Russell King
  7. */
  8. #ifndef __ASM_ARCH_DMA_H
  9. #define __ASM_ARCH_DMA_H
  10. /*
  11. * This is the maximum DMA address that can be DMAd to.
  12. * There should not be more than (0xd0000000 - 0xc0000000)
  13. * bytes of RAM.
  14. */
  15. #define MAX_DMA_ADDRESS 0xd0000000
  16. #if defined (CONFIG_CPU_H7201)
  17. #define MAX_DMA_CHANNELS 3
  18. #elif defined (CONFIG_CPU_H7202)
  19. #define MAX_DMA_CHANNELS 4
  20. #else
  21. #error processor definition missmatch
  22. #endif
  23. #endif /* __ASM_ARCH_DMA_H */