Kconfig 1.4 KB

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