Kconfig 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. menu "DMA support"
  2. config SH_DMA_API
  3. bool
  4. config SH_DMA
  5. bool "SuperH on-chip DMA controller (DMAC) support"
  6. depends on CPU_SH3 || CPU_SH4
  7. select SH_DMA_API
  8. default n
  9. config NR_ONCHIP_DMA_CHANNELS
  10. int
  11. depends on SH_DMA
  12. default "8" if CPU_SUBTYPE_SH7750R || CPU_SUBTYPE_SH7751R
  13. default "12" if CPU_SUBTYPE_SH7780
  14. default "4"
  15. help
  16. This allows you to specify the number of channels that the on-chip
  17. DMAC supports. This will be 4 for SH7750/SH7751 and 8 for the
  18. SH7750R/SH7751R.
  19. config NR_DMA_CHANNELS_BOOL
  20. depends on SH_DMA
  21. bool "Override default number of maximum DMA channels"
  22. help
  23. This allows you to forcibly update the maximum number of supported
  24. DMA channels for a given board. If this is unset, this will default
  25. to the number of channels that the on-chip DMAC has.
  26. config NR_DMA_CHANNELS
  27. int "Maximum number of DMA channels"
  28. depends on SH_DMA && NR_DMA_CHANNELS_BOOL
  29. default NR_ONCHIP_DMA_CHANNELS
  30. help
  31. This allows you to specify the maximum number of DMA channels to
  32. support. Setting this to a higher value allows for cascading DMACs
  33. with additional channels.
  34. config SH_DMABRG
  35. bool "SH7760 DMABRG support"
  36. depends on CPU_SUBTYPE_SH7760
  37. help
  38. The DMABRG does data transfers from main memory to Audio/USB units
  39. of the SH7760.
  40. Say Y if you want to use Audio/USB DMA on your SH7760 board.
  41. endmenu